Lines Matching +full:chan +full:- +full:name
28 .Sh NAME
49 .Fn cap_getgrent "cap_channel_t *chan"
51 .Fn cap_getgrnam "cap_channel_t *chan" "const char *name"
53 .Fn cap_getgrgid "cap_channel_t *chan" "gid_t gid"
55 .Fn cap_getgrent_r "cap_channel_t *chan" "struct group *grp" "char *buffer" "size_t bufsize" "struc…
57 .Fn cap_getgrnam_r "cap_channel_t *chan" "const char *name" "struct group *grp" "char *buffer" "siz…
59 .Fn cap_getgrgid_r "cap_channel_t *chan" "gid_t gid" "struct group *grp" "char *buffer" "size_t buf…
61 .Fn cap_setgroupent "cap_channel_t *chan" "int stayopen"
63 .Fn cap_setgrent "cap_channel_t *chan"
65 .Fn cap_endgrent "cap_channel_t *chan"
67 .Fn cap_grp_limit_cmds "cap_channel_t *chan" "const char * const *cmds" "size_t ncmds"
69 .Fn cap_grp_limit_fields "cap_channel_t *chan" "const char * const *fields" "size_t nfields"
71 .Fn cap_grp_limit_groups "cap_channel_t *chan" "const char * const *names" "size_t nnames" "const g…
115 which will allow to use the function associated with the name.
147 variable allows to limit groups by name and the
156 All of these functions are reentrant but not thread-safe.
164 casper service and uses it to get a group name.
165 .Bd -literal
193 /* Limit service to one field as we only need name of the group. */
203 err(1, "Unable to get name of group");
205 printf("GID %d is associated with name %s.\\n", gid[0], group->gr_name);