aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/signalvar.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
committerCem Keylan <cem@ckyln.com>2020-10-19 13:54:31 +0300
commit317043010879767bc6a3bef6cbec0c5f300d1ce0 (patch)
tree4bb7c8cd59acb28c4c21eea06cb653f7b82d5aeb /sys/sys/signalvar.h
parent54d853eaccae1f4f2e04ae70d79e34cfef86bf67 (diff)
downloadotools-317043010879767bc6a3bef6cbec0c5f300d1ce0.tar.gz
sys: update to 6.8
Diffstat (limited to 'sys/sys/signalvar.h')
-rw-r--r--sys/sys/signalvar.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h
index 7ee361f..c8c71da 100644
--- a/sys/sys/signalvar.h
+++ b/sys/sys/signalvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: signalvar.h,v 1.40 2020/03/13 09:25:21 mpi Exp $ */
+/* $OpenBSD: signalvar.h,v 1.44 2020/09/16 13:50:42 mpi Exp $ */
/* $NetBSD: signalvar.h,v 1.17 1996/04/22 01:23:31 christos Exp $ */
/*
@@ -86,9 +86,9 @@ struct sigacts {
* Clear a pending signal from a process.
*/
#define CLRSIG(p, sig) do { \
- int _mask = sigmask(sig); \
- atomic_clearbits_int(&(p)->p_siglist, _mask); \
- atomic_clearbits_int(&(p)->p_p->ps_siglist, _mask); \
+ int __mask = sigmask(sig); \
+ atomic_clearbits_int(&(p)->p_siglist, __mask); \
+ atomic_clearbits_int(&(p)->p_p->ps_siglist, __mask); \
} while (0)
/*
@@ -122,12 +122,13 @@ void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
void psignal(struct proc *p, int sig);
void ptsignal(struct proc *p, int sig, enum signal_type type);
#define prsignal(pr,sig) ptsignal((pr)->ps_mainproc, (sig), SPROCESS)
-void siginit(struct process *);
+void siginit(struct sigacts *);
void trapsignal(struct proc *p, int sig, u_long code, int type,
union sigval val);
void sigexit(struct proc *, int);
+void sigabort(struct proc *);
+int sigismasked(struct proc *, int);
int sigonstack(size_t);
-void setsigvec(struct proc *, int, struct sigaction *);
int killpg1(struct proc *, int, int, int);
void signal_init(void);