diff options
Diffstat (limited to 'arch/ia64/ia32/ia32_signal.c')
-rw-r--r-- | arch/ia64/ia32/ia32_signal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/ia64/ia32/ia32_signal.c b/arch/ia64/ia32/ia32_signal.c index 19b02adce68c..ebb89be2aa2d 100644 --- a/arch/ia64/ia32/ia32_signal.c +++ b/arch/ia64/ia32/ia32_signal.c | |||
@@ -460,10 +460,9 @@ __ia32_rt_sigsuspend (compat_sigset_t *sset, unsigned int sigsetsize, struct sig | |||
460 | sigset_t oldset, set; | 460 | sigset_t oldset, set; |
461 | 461 | ||
462 | scr->scratch_unat = 0; /* avoid leaking kernel bits to user level */ | 462 | scr->scratch_unat = 0; /* avoid leaking kernel bits to user level */ |
463 | memset(&set, 0, sizeof(&set)); | 463 | memset(&set, 0, sizeof(set)); |
464 | 464 | ||
465 | if (memcpy(&set.sig, &sset->sig, sigsetsize)) | 465 | memcpy(&set.sig, &sset->sig, sigsetsize); |
466 | return -EFAULT; | ||
467 | 466 | ||
468 | sigdelsetmask(&set, ~_BLOCKABLE); | 467 | sigdelsetmask(&set, ~_BLOCKABLE); |
469 | 468 | ||