/sysdeps/unix/sysv/linux/ |
A D | libc_sigaction.c | 30 # define SET_SA_RESTORER(kact, act) argument 31 # define RESET_SA_RESTORER(act, kact) argument 36 # define STUB(act, sigsetsize) (sigsetsize) argument 42 __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact) in __libc_sigaction() argument 48 if (act) in __libc_sigaction() 50 kact.k_sa_handler = act->sa_handler; in __libc_sigaction() 51 memcpy (&kact.sa_mask, &act->sa_mask, sizeof (sigset_t)); in __libc_sigaction() 52 kact.sa_flags = act->sa_flags; in __libc_sigaction() 53 SET_SA_RESTORER (&kact, act); in __libc_sigaction() 59 act ? &kact : NULL, in __libc_sigaction() [all …]
|
A D | kernel_sigaction.h | 22 # define SET_SA_RESTORER(kact, act) argument 25 # define RESET_SA_RESTORER(act, kact) argument
|
/sysdeps/posix/ |
A D | sigignore.c | 29 struct sigaction act; in sigignore() local 31 act.sa_handler = SIG_IGN; in sigignore() 32 __sigemptyset (&act.sa_mask); in sigignore() 33 act.sa_flags = 0; in sigignore() 35 return __sigaction (sig, &act, NULL); in sigignore()
|
A D | sysv_signal.c | 39 struct sigaction act, oact; in __sysv_signal() local 48 act.sa_handler = handler; in __sysv_signal() 49 __sigemptyset (&act.sa_mask); in __sysv_signal() 50 act.sa_flags = SA_ONESHOT | SA_NOMASK | SA_INTERRUPT; in __sysv_signal() 51 act.sa_flags &= ~SA_RESTART; in __sysv_signal() 52 if (__sigaction (sig, &act, &oact) < 0) in __sysv_signal()
|
A D | signal.c | 31 struct sigaction act, oact; in __bsd_signal() local 41 act.sa_handler = handler; in __bsd_signal() 42 __sigemptyset (&act.sa_mask); in __bsd_signal() 43 __sigaddset (&act.sa_mask, sig); in __bsd_signal() 44 act.sa_flags = __sigismember (&_sigintr, sig) ? 0 : SA_RESTART; in __bsd_signal() 45 if (__sigaction (sig, &act, &oact) < 0) in __bsd_signal()
|
A D | profil.c | 67 struct sigaction act; in __profil() local 109 act.sa_sigaction = __profil_counter; in __profil() 110 act.sa_flags = SA_SIGINFO; in __profil() 112 act.sa_handler = __profil_counter; in __profil() 113 act.sa_flags = 0; in __profil() 115 act.sa_flags |= SA_RESTART; in __profil() 116 __sigfillset (&act.sa_mask); in __profil() 117 if (__sigaction (SIGPROF, &act, oact_ptr) < 0) in __profil()
|
A D | sigset.c | 29 struct sigaction act; in sigset() local 56 act.sa_handler = disp; in sigset() 57 __sigemptyset (&act.sa_mask); in sigset() 58 act.sa_flags = 0; in sigset() 59 if (__sigaction (sig, &act, &oact) < 0) in sigset()
|
A D | sprofil.c | 286 struct sigaction act; in __sprofil() local 337 act.sa_sigaction= flags & PROF_UINT in __sprofil() 340 act.sa_flags = SA_SIGINFO; in __sprofil() 342 act.sa_handler = flags & PROF_UINT in __sprofil() 345 act.sa_flags = 0; in __sprofil() 347 act.sa_flags |= SA_RESTART; in __sprofil() 348 __sigfillset (&act.sa_mask); in __sprofil() 349 if (__sigaction (SIGPROF, &act, &prof_info.saved_action) < 0) in __sprofil()
|
/sysdeps/mach/hurd/ |
A D | libc_sigaction.c | 27 __libc_sigaction (int sig, const struct sigaction *act, in __libc_sigaction() argument 34 if (act != NULL && act->sa_handler != SIG_DFL in __libc_sigaction() 35 && ((__sigmask (sig) & _SIG_CANT_MASK) || act->sa_handler == SIG_ERR)) in __libc_sigaction() 42 if (act != NULL) in __libc_sigaction() 43 a = *act; in __libc_sigaction() 50 if (act != NULL) in __libc_sigaction() 53 if (act != NULL && sig == SIGCHLD in __libc_sigaction() 67 else if (act != NULL && (a.sa_handler == SIG_IGN || a.sa_handler == SIG_DFL)) in __libc_sigaction()
|
/sysdeps/unix/sysv/linux/s390/ |
A D | kernel_sigaction.h | 4 #define SET_SA_RESTORER(kact, act) \ argument 5 (kact)->sa_restorer = (act)->sa_restorer 6 #define RESET_SA_RESTORER(act, kact) \ argument 7 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/sh/ |
A D | kernel_sigaction.h | 4 #define SET_SA_RESTORER(kact, act) \ argument 5 (kact)->sa_restorer = (act)->sa_restorer 6 #define RESET_SA_RESTORER(act, kact) \ argument 7 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/nios2/ |
A D | kernel_sigaction.h | 4 #define SET_SA_RESTORER(kact, act) \ argument 5 (kact)->sa_restorer = (act)->sa_restorer 6 #define RESET_SA_RESTORER(act, kact) \ argument 7 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/powerpc/ |
A D | kernel_sigaction.h | 5 #define SET_SA_RESTORER(kact, act) \ argument 6 (kact)->sa_restorer = (act)->sa_restorer 7 #define RESET_SA_RESTORER(act, kact) \ argument 8 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/aarch64/ |
A D | libc_sigaction.c | 21 #define SET_SA_RESTORER(kact, act) \ argument 24 (kact)->sa_restorer = (act)->sa_restorer; \ 27 #define RESET_SA_RESTORER(act, kact) \ argument 28 (act)->sa_restorer = (kact)->sa_restorer;
|
/sysdeps/unix/sysv/linux/arm/ |
A D | libc_sigaction.c | 23 #define SET_SA_RESTORER(kact, act) \ argument 26 (kact)->sa_restorer = (act)->sa_restorer; \ 36 #define RESET_SA_RESTORER(act, kact) \ argument 37 (act)->sa_restorer = (kact)->sa_restorer;
|
/sysdeps/unix/sysv/linux/sparc/sparc32/ |
A D | libc_sigaction.c | 29 #define STUB(act, sigsetsize) \ argument 30 (act) ? ((unsigned long)((act->sa_flags & SA_SIGINFO) \
|
/sysdeps/unix/sysv/linux/alpha/ |
A D | kernel_sigaction.h | 6 #define STUB(act, sigsetsize) \ argument 8 (act) ? ((unsigned long)((act->sa_flags & SA_SIGINFO) \
|
/sysdeps/unix/sysv/linux/i386/ |
A D | libc_sigaction.c | 27 #define SET_SA_RESTORER(kact, act) \ argument 32 (kact)->sa_restorer = (((act)->sa_flags & SA_SIGINFO) \ 39 #define RESET_SA_RESTORER(act, kact) \ argument 40 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/arc/ |
A D | libc_sigaction.c | 23 #define SET_SA_RESTORER(kact, act) \ argument 29 #define RESET_SA_RESTORER(act, kact) argument
|
/sysdeps/unix/sysv/linux/x86_64/ |
A D | libc_sigaction.c | 24 #define SET_SA_RESTORER(kact, act) \ argument 25 (kact)->sa_flags = (act)->sa_flags | SA_RESTORER; \ 28 #define RESET_SA_RESTORER(act, kact) \ argument 29 (act)->sa_restorer = (kact)->sa_restorer
|
/sysdeps/unix/sysv/linux/sparc/sparc64/ |
A D | libc_sigaction.c | 26 #define STUB(act, sigsetsize) \ argument
|