Minor update for per-LWP creds.
This commit is contained in:
parent
1db4d327d9
commit
5ed2f11fe6
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: kauth.9,v 1.10 2006/07/22 09:26:29 elad Exp $
|
||||
.\" $NetBSD: kauth.9,v 1.11 2006/08/14 13:59:30 ad Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2005, 2006 Elad Efrat <elad@NetBSD.org>
|
||||
.\" All rights reserved.
|
||||
@ -319,10 +319,10 @@ When a
|
||||
.Ft kauth_cred_t
|
||||
is first allocated, its reference count is set to 1.
|
||||
However, with time, its reference count can grow as more objects (processes,
|
||||
files, etc.) reference it.
|
||||
LWPs, files, etc.) reference it.
|
||||
One such case is during a
|
||||
.Xr fork 2
|
||||
where the child process inherits the credentials of the parent.
|
||||
where the child process and its LWPs inherit the credentials of the parent.
|
||||
.Pp
|
||||
To prevent freeing a
|
||||
.Ft kauth_cred_t
|
||||
@ -460,7 +460,7 @@ for
|
||||
.Ar cred
|
||||
will be done.
|
||||
.It Ft kauth_cred_t Fn kauth_cred_get "void"
|
||||
Return the credentials associated with the current process.
|
||||
Return the credentials associated with the current LWP.
|
||||
.El
|
||||
.Ss Scope Management
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user