diff options
author | jb <jb@FreeBSD.org> | 1998-08-26 20:55:31 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-08-26 20:55:31 +0000 |
commit | 343f23c6e906a06f3a710b747835ac571e30bdf2 (patch) | |
tree | dce540a1ff8e8ba890d4d00d47b51a4bc543bf16 /lib/libc_r | |
parent | 45be607d945adc5acb55189112419308142cc122 (diff) | |
download | FreeBSD-src-343f23c6e906a06f3a710b747835ac571e30bdf2.zip FreeBSD-src-343f23c6e906a06f3a710b747835ac571e30bdf2.tar.gz |
Don't automatically restart syscalls for the signals that the thread
kernel needs.
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/uthread_sigaction.c | 2 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_signal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_sigaction.c b/lib/libc_r/uthread/uthread_sigaction.c index 3538f27..40f3850 100644 --- a/lib/libc_r/uthread/uthread_sigaction.c +++ b/lib/libc_r/uthread/uthread_sigaction.c @@ -75,7 +75,7 @@ sigaction(int sig, const struct sigaction * act, struct sigaction * oact) sig != SIGINFO) { /* Initialise the global signal action structure: */ gact.sa_mask = act->sa_mask; - gact.sa_flags = act->sa_flags | SA_RESTART; + gact.sa_flags = 0; /* * Check if the signal handler is being set to diff --git a/lib/libc_r/uthread/uthread_signal.c b/lib/libc_r/uthread/uthread_signal.c index cef725f..c9ece32 100644 --- a/lib/libc_r/uthread/uthread_signal.c +++ b/lib/libc_r/uthread/uthread_signal.c @@ -44,7 +44,7 @@ _thread_sys_signal(int s, sig_t a) /* Initialise the signal action structure: */ sigemptyset(&sa.sa_mask); sa.sa_handler = a; - sa.sa_flags = SA_RESTART; + sa.sa_flags = 0; /* Perform the sigaction syscall: */ if (_thread_sys_sigaction(s, &sa, &osa) < 0) { |