--- 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