summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-04-28 08:29:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-04-28 08:29:41 +0000
commitaa9937aa2c463a0ee9d88be567727bf576329065 (patch)
tree66bbcbc22be1655bdd2dd99e86cb16b57a5bb6f6 /sys
parente2342929aae69cad79485bff04475f128e28ebaf (diff)
Document that thread credentials are owned by curproc.
From Vitaliy Makkoveev, ok visa@
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index a25cb52951d..357c0c0d52c 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: proc.h,v 1.294 2020/04/06 07:52:12 claudio Exp $ */
+/* $OpenBSD: proc.h,v 1.295 2020/04/28 08:29:40 mpi Exp $ */
/* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */
/*-
@@ -392,7 +392,7 @@ struct proc {
u_int p_estcpu; /* [s] Time averaged val of p_cpticks */
int p_pledge_syscall; /* Cache of current syscall */
- struct ucred *p_ucred; /* cached credentials */
+ struct ucred *p_ucred; /* [o] cached credentials */
struct sigaltstack p_sigstk; /* sp & on stack state variable */
u_long p_prof_addr; /* tmp storage for profiling addr until AST */