signalvar.h (39154) | signalvar.h (41086) |
---|---|
1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signalvar.h 8.6 (Berkeley) 2/19/95 | 1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signalvar.h 8.6 (Berkeley) 2/19/95 |
34 * $Id: signalvar.h,v 1.18 1998/03/28 10:33:23 bde Exp $ | 34 * $Id: signalvar.h,v 1.19 1998/09/14 05:36:51 jdp Exp $ |
35 */ 36 37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */ 38#define _SYS_SIGNALVAR_H_ 39 40#include <sys/signal.h> 41 42/* --- 104 unchanged lines hidden (view full) --- 147 148#endif /* SIGPROP */ 149 150#define sigcantmask (sigmask(SIGKILL) | sigmask(SIGSTOP)) 151 152#ifdef KERNEL 153struct pgrp; 154struct proc; | 35 */ 36 37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */ 38#define _SYS_SIGNALVAR_H_ 39 40#include <sys/signal.h> 41 42/* --- 104 unchanged lines hidden (view full) --- 147 148#endif /* SIGPROP */ 149 150#define sigcantmask (sigmask(SIGKILL) | sigmask(SIGSTOP)) 151 152#ifdef KERNEL 153struct pgrp; 154struct proc; |
155struct sigio; |
|
155 156extern int sugid_coredump; /* Sysctl variable kern.sugid_coredump */ 157 158/* 159 * Machine-independent functions: 160 */ 161void execsigs __P((struct proc *p)); 162char *expand_name __P((const char*, int, int)); 163void gsignal __P((int pgid, int sig)); 164int issignal __P((struct proc *p)); 165void killproc __P((struct proc *p, char *why)); | 156 157extern int sugid_coredump; /* Sysctl variable kern.sugid_coredump */ 158 159/* 160 * Machine-independent functions: 161 */ 162void execsigs __P((struct proc *p)); 163char *expand_name __P((const char*, int, int)); 164void gsignal __P((int pgid, int sig)); 165int issignal __P((struct proc *p)); 166void killproc __P((struct proc *p, char *why)); |
167void pgsigio __P((struct sigio *, int signum, int checkctty)); |
|
166void pgsignal __P((struct pgrp *pgrp, int sig, int checkctty)); 167void postsig __P((int sig)); 168void psignal __P((struct proc *p, int sig)); 169void sigexit __P((struct proc *p, int signum)); 170void siginit __P((struct proc *p)); 171void trapsignal __P((struct proc *p, int sig, u_long code)); 172 173/* 174 * Machine-dependent functions: 175 */ 176void sendsig __P((sig_t action, int sig, int returnmask, u_long code)); 177#endif /* KERNEL */ 178#endif /* !_SYS_SIGNALVAR_H_ */ | 168void pgsignal __P((struct pgrp *pgrp, int sig, int checkctty)); 169void postsig __P((int sig)); 170void psignal __P((struct proc *p, int sig)); 171void sigexit __P((struct proc *p, int signum)); 172void siginit __P((struct proc *p)); 173void trapsignal __P((struct proc *p, int sig, u_long code)); 174 175/* 176 * Machine-dependent functions: 177 */ 178void sendsig __P((sig_t action, int sig, int returnmask, u_long code)); 179#endif /* KERNEL */ 180#endif /* !_SYS_SIGNALVAR_H_ */ |