Symbol: setusercontext
include/login_cap.h
109
int setusercontext(login_cap_t *, struct passwd *, uid_t, unsigned int);
lib/libc/gen/login_cap.c
636
ret = lc ? setusercontext(lc, NULL, 0, flags) : -1;
lib/libc/gen/login_cap.c
763
DEF_WEAK(setusercontext);
lib/libc/hidden/login_cap.h
32
PROTO_NORMAL(setusercontext);
libexec/ftpd/ftpd.c
947
if (setusercontext(lc, pw, 0, flags) != 0) {
sbin/init/init.c
1426
setusercontext(lc, NULL, 0,
usr.bin/calendar/calendar.c
205
if (setusercontext(NULL, pw, pw->pw_uid,
usr.bin/doas/doas.c
460
if (setusercontext(NULL, targpw, target, LOGIN_SETGROUP |
usr.bin/login/login.c
611
if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETPATH)) {
usr.bin/login/login.c
713
if (setusercontext(lc, pwd, rootlogin ? 0 : pwd->pw_uid,
usr.bin/skeyaudit/skeyaudit.c
230
setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0) {
usr.bin/ssh/session.c
1085
if (setusercontext(lc, pw, pw->pw_uid,
usr.bin/ssh/session.c
1109
if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) {
usr.bin/ssh/session.c
818
if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETPATH) < 0)
usr.bin/su/su.c
274
if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETPATH))
usr.bin/su/su.c
298
if (setusercontext(lc,
usr.bin/su/su.c
363
if (setusercontext(lc, pwd, pwd->pw_uid, flags) != 0)
usr.sbin/chroot/chroot.c
113
if (setusercontext(lc, pwd, pwd->pw_uid, flags) == -1)
usr.sbin/cron/atrun.c
491
if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETALL)) {
usr.sbin/cron/do_command.c
215
if (setusercontext(lc, e->pwd, e->pwd->pw_uid, LOGIN_SETALL) == -1) {
usr.sbin/cron/popen.c
95
if (setusercontext(0, pw, pw->pw_uid, LOGIN_SETALL) == -1) {
usr.sbin/inetd/inetd.c
1792
if (setusercontext(NULL, pwd, pwd->pw_uid,
usr.sbin/nsd/nsd.c
1575
if (setusercontext(NULL, pwd, nsd.uid,
usr.sbin/unbound/daemon/unbound.c
611
if(setusercontext(NULL, pwd, cfg_uid, (unsigned)