Don't automatically restart syscalls for the signals that the thread

kernel needs.
This commit is contained in:
John Birrell 1998-08-26 20:55:31 +00:00
parent 353a159590
commit 5f867deba5
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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) {

View file

@ -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

View file

@ -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