Lines Matching +full:chan +full:- +full:name
28 .Sh NAME
48 .Fn cap_getpwent "cap_channel_t *chan"
50 .Fn cap_getpwnam "cap_channel_t *chan" "const char *login"
52 .Fn cap_getpwuid "cap_channel_t *chan" "uid_t uid"
54 .Fn cap_getpwent_r "cap_channel_t *chan" "struct passwd *pwd" "char *buffer" "size_t bufsize" "stru…
56 .Fn cap_getpwnam_r "cap_channel_t *chan" "const char *name" "struct passwd *pwd" "char *buffer" "si…
58 .Fn cap_getpwuid_r "cap_channel_t *chan" "uid_t uid" "struct passwd *pwd" "char *buffer" "size_t bu…
60 .Fn cap_setpassent "cap_channel_t *chan" "int stayopen"
62 .Fn cap_setpwent "cap_channel_t *chan"
64 .Fn cap_endpwent "cap_channel_t *chan"
66 .Fn cap_pwd_limit_cmds "cap_channel_t *chan" "const char * const *cmds" "size_t ncmds"
68 .Fn cap_pwd_limit_fields "cap_channel_t *chan" "const char * const *fields" "size_t nfields"
70 .Fn cap_pwd_limit_users "cap_channel_t *chan" "const char * const *names" "size_t nnames" "uid_t *u…
114 which will allow to use the function associated with the name.
153 variable allows to limit users by name and the
162 All of these functions are reentrant but not thread-safe.
170 casper service and uses it to get a user name.
171 .Bd -literal
199 /* Limit service to one field as we only need name of the user. */
209 err(1, "Unable to get name of user");
211 printf("UID %d is associated with name %s.\\n", uid[0], passwd->pw_name);