Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F98809556
D46922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
605 B
Referenced Files
None
Subscribers
None
D46922.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D46922: cred: proc_set_cred(): Remove obsolete comments
Attached
Detach File
Event Timeline
Log In to Comment