summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-09-16 08:01:15 +0000
committermpi <mpi@openbsd.org>2020-09-16 08:01:15 +0000
commitc2a8f142e1d16eeffff6dabd49df88807efb8546 (patch)
treef092de98bf6af4a44e96a955b0d55ced9b0cd7d5 /sys
parentLet SSL_CTX_get_ciphers(NULL) return NULL rather than crash (diff)
downloadwireguard-openbsd-c2a8f142e1d16eeffff6dabd49df88807efb8546.tar.xz
wireguard-openbsd-c2a8f142e1d16eeffff6dabd49df88807efb8546.zip
Document that `p_siglist' and `p_sigmask' are updated via atomics.
ok claudio@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index c04b5a5e54f..257175addec 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.299 2020/08/26 03:19:09 visa Exp $ */
+/* $OpenBSD: proc.h,v 1.300 2020/09/16 08:01:15 mpi Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -383,14 +383,14 @@ struct proc {
struct kcov_dev *p_kd; /* kcov device handle */
struct lock_list_entry *p_sleeplocks; /* WITNESS lock tracking */
- int p_siglist; /* Signals arrived but not delivered. */
+ int p_siglist; /* [a] Signals arrived & not delivered*/
/* End area that is zeroed on creation. */
#define p_endzero p_startcopy
/* The following fields are all copied upon creation in fork. */
#define p_startcopy p_sigmask
- sigset_t p_sigmask; /* Current signal mask. */
+ sigset_t p_sigmask; /* [a] Current signal mask */
u_char p_slppri; /* [S] Sleeping priority */
u_char p_usrpri; /* [S] Priority based on p_estcpu & ps_nice */