Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern kern: Omit stale locking comment in proc_crmod_leave.



details:   https://anonhg.NetBSD.org/src/rev/63b391ccbaba
branches:  trunk
changeset: 368241:63b391ccbaba
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Jul 01 01:06:40 2022 +0000

description:
kern: Omit stale locking comment in proc_crmod_leave.

diffstat:

 sys/kern/kern_proc.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r c6e980e93efb -r 63b391ccbaba sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Fri Jul 01 01:06:31 2022 +0000
+++ b/sys/kern/kern_proc.c      Fri Jul 01 01:06:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_proc.c,v 1.267 2022/05/07 19:44:40 mrg Exp $      */
+/*     $NetBSD: kern_proc.c,v 1.268 2022/07/01 01:06:40 riastradh Exp $        */
 
 /*-
  * Copyright (c) 1999, 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.267 2022/05/07 19:44:40 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.268 2022/07/01 01:06:40 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kstack.h"
@@ -1826,8 +1826,7 @@
 /*
  * Set in a new process credential, and drop the write lock.  The credential
  * must have a reference already.  Optionally, free a no-longer required
- * credential.  The scheduler also needs to inspect p_cred, so we also
- * briefly acquire the sched state mutex.
+ * credential.
  */
 void
 proc_crmod_leave(kauth_cred_t scred, kauth_cred_t fcred, bool sugid)



Home | Main Index | Thread Index | Old Index