Page MenuHomeFreeBSD

D46922.diff
No OneTemporary

D46922.diff

diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -2238,11 +2238,6 @@
* Change process credentials.
* Callers are responsible for providing the reference for passed credentials
* and for freeing old ones.
- *
- * Process has to be locked except when it does not have credentials (as it
- * should not be visible just yet) or when newcred is NULL (as this can be
- * only used when the process is about to be freed, at which point it should
- * not be visible anymore).
*/
void
proc_set_cred(struct proc *p, struct ucred *newcred)

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 5, 8:15 PM (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13626149
Default Alt Text
D46922.diff (605 B)

Event Timeline