Page MenuHomeFreeBSD

D46922.id148042.diff
No OneTemporary

D46922.id148042.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
@@ -2281,11 +2281,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
Fri, Sep 11, 9:59 PM (16 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38736103
Default Alt Text
D46922.id148042.diff (605 B)

Event Timeline