34 #ifndef _SYS_SIGNALVAR_H_ 35 #define _SYS_SIGNALVAR_H_ 42 #if !defined(__rtems__) 48 sig_t ps_sigact[NSIG];
49 sigset_t ps_catchmask[NSIG];
50 sigset_t ps_sigonstack;
53 sigset_t ps_signodefer;
59 sigset_t ps_usertramp;
64 #define SAS_OLDMASK 0x01 65 #define SAS_ALTSTACK 0x02 68 #define SIG_CATCH ((__sighandler_t *)2) 69 #define SIG_HOLD ((__sighandler_t *)3) 71 #if !defined(__rtems__) 75 #define SIGACTION(p, sig) (p->p_sigacts->ps_sigact[(sig)]) 84 (((p)->p_siglist == 0 || \ 85 (((p)->p_flag & P_TRACED) == 0 && \ 86 ((p)->p_siglist & ~(p)->p_sigmask) == 0)) ? \ 92 #define CLRSIG(p, sig) { (p)->p_siglist &= ~sigmask(sig); } 102 #define SA_TTYSTOP 0x08 103 #define SA_IGNORE 0x10 105 #define SA_CANTMASK 0x40 108 static int sigprop[NSIG + 1] = {
143 #define contsigmask (sigmask(SIGCONT)) 144 #define stopsigmask (sigmask(SIGSTOP) | sigmask(SIGTSTP) | \ 145 sigmask(SIGTTIN) | sigmask(SIGTTOU)) 149 #define sigcantmask (sigmask(SIGKILL) | sigmask(SIGSTOP)) 155 void execsigs(
struct proc *p);
156 void gsignal(
int pgid,
int sig);
157 int issignal(
struct proc *p);
158 void killproc(
struct proc *p,
char *why);
159 void pgsignal(
struct pgrp *pgrp,
int sig,
int checkctty);
160 void postsig(
int sig);
163 void psignal(
struct proc *p,
int sig);
165 void setsigvec(
struct proc *p,
int signum,
struct sigaction *sa);
166 void sigexit(
struct proc *p,
int signum);
167 void siginit(
struct proc *p);
168 void trapsignal(
struct proc *p,
int sig, u_long
code);
173 void sendsig(sig_t action,
int sig,
int returnmask, u_long
code);
Definition: rtems_bsdnet_internal.h:86
Definition: signalvar.h:48
Definition: inftrees.h:25