diff options
author | Russell King <[email protected]> | 2010-09-17 14:56:16 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2010-09-17 14:56:16 +0100 |
commit | b2b163bb82b12bae2504a5b31399c37d099ad3cc (patch) | |
tree | c82f6af3b566b449895e202962d2dc7caed1f20f /net/unix/sysctl_net_unix.c | |
parent | 1a8e41cd672f894bbd74874eac601e6cedf838fb (diff) |
ARM: prevent multiple syscall restarts
Al Viro reports that calling "sys_sigsuspend(-ERESTARTNOHAND, 0, 0)"
with two signals coming and being handled in kernel space results
in the syscall restart being done twice.
Avoid this by clearing the 'why' flag when we call the signal handling
code to prevent further syscall restarts after the first.
Acked-by: Al Viro <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions