FreeBSD Bugzilla – Attachment 175813 Details for
Bug 213527
[patch] [kernel] Rework on functions allocating credentials.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for ucred.9 man page
cr_changes_man.diff (text/plain), 1.04 KB, created by
Gerry
on 2016-10-16 06:28:02 UTC
(
hide
)
Description:
Patch for ucred.9 man page
Filename:
MIME Type:
Creator:
Gerry
Created:
2016-10-16 06:28:02 UTC
Size:
1.04 KB
patch
obsolete
>Index: share/man/man9/ucred.9 >=================================================================== >--- share/man/man9/ucred.9 (revision 307332) >+++ share/man/man9/ucred.9 (working copy) >@@ -32,6 +32,7 @@ > .Sh NAME > .Nm ucred , > .Nm crget , >+.Nm crextend , > .Nm crhold , > .Nm crfree , > .Nm crshared , >@@ -44,7 +45,9 @@ > .In sys/param.h > .In sys/ucred.h > .Ft "struct ucred *" >-.Fn crget void >+.Fn crget "int ngroups" >+.Ft void >+.Fn crextend "struct ucred *cr, int n" > .Ft "struct ucred *" > .Fn crhold "struct ucred *cr" > .Ft void >@@ -74,9 +77,18 @@ > .Fn crget > function allocates memory > for a new structure, sets its reference count to 1, and >-initializes its lock. >+initializes its lock. Memory to hold >+.Vt ngroups >+is allocated. Values less than 16 have no effect as that >+is the minimum group buffer size used. > .Pp > The >+.Fn crextend >+function increases the buffer size for holding groups to to >+.Vt n >+items. Previously stored groups will be lost after this operation. >+.Pp >+The > .Fn crhold > function increases the reference count on the credential. > .Pp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213527
:
175810
|
175813
|
175853