Lines Matching +full:function +full:- +full:group
41 .Nd "library for group database operations in capability mode"
55 …Fn cap_getgrent_r "cap_channel_t *chan" "struct group *grp" "char *buffer" "size_t bufsize" "struc…
57 …cap_channel_t *chan" "const char *name" "struct group *grp" "char *buffer" "size_t bufsize" "struc…
59 …gid_r "cap_channel_t *chan" "gid_t gid" "struct group *grp" "char *buffer" "size_t bufsize" "struc…
101 function limits the functions allowed in the service.
115 which will allow to use the function associated with the name.
124 function allows limit fields returned in the structure
125 .Vt group .
144 function allows to limit access to groups.
149 variable by the group number.
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
170 struct group *group;
189 /* Limit service to one single function. */
193 /* Limit service to one field as we only need name of the group. */
201 group = cap_getgrgid(capgrp, gid[0]);
202 if (group == NULL)
203 err(1, "Unable to get name of group");
205 printf("GID %d is associated with name %s.\\n", gid[0], group->gr_name);