2007-09-22 Dmitry V. Levin <ldv@altlinux.org>
* desc.c (sys_pselect6): Decode signal mask when entering syscall. Relax signal mask size check.
This commit is contained in:
parent
d017e340ff
commit
fe10aa70a7
4
desc.c
4
desc.c
@ -868,7 +868,7 @@ int
|
||||
sys_pselect6(struct tcb *tcp)
|
||||
{
|
||||
int rc = decode_select(tcp, tcp->u_arg, BITNESS_CURRENT);
|
||||
if (exiting(tcp)) {
|
||||
if (entering(tcp)) {
|
||||
struct {
|
||||
void *ss;
|
||||
unsigned long len;
|
||||
@ -877,7 +877,7 @@ sys_pselect6(struct tcb *tcp)
|
||||
tprintf(", %#lx", tcp->u_arg[5]);
|
||||
else {
|
||||
tprintf(", {");
|
||||
if (data.len < sizeof(sigset_t))
|
||||
if (data.len < sizeof(long))
|
||||
tprintf("%#lx", (long)data.ss);
|
||||
else
|
||||
print_sigset(tcp, (long)data.ss, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user