Symbol: setusercontext
crypto/openssh/session.c
1019
if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETPATH) < 0)
crypto/openssh/session.c
1356
if (setusercontext(lc, pw, pw->pw_uid,
crypto/openssh/session.c
1396
if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) {
crypto/openssh/session.c
1404
(void) setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUMASK);
lib/libutil/login_cap.h
120
int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int);
lib/libutil/login_class.c
269
rc = lc ? setusercontext(lc, NULL, 0, flags) : -1;
libexec/atrun/atrun.c
307
if (setusercontext(NULL, pentry, uid, LOGIN_SETALL &
libexec/atrun/atrun.c
354
if (setusercontext(NULL, pentry, uid, LOGIN_SETALL) != 0)
libexec/ftpd/ftpd.c
1150
setusercontext(NULL, getpwuid(0), 0,
libexec/ftpd/ftpd.c
1420
setusercontext(lc, pw, 0,
sbin/init/init.c
1758
setusercontext(lc, NULL, 0, LOGIN_SETPRIORITY|LOGIN_SETRESOURCES);
usr.bin/login/login.c
505
if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) != 0) {
usr.bin/login/login.c
565
if (setusercontext(lc, pwd, pwd->pw_uid,
usr.bin/newgrp/newgrp.c
278
setusercontext(lc, pwd, pwd->pw_uid,
usr.bin/su/su.c
397
if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) < 0)
usr.bin/su/su.c
495
if (setusercontext(lc, pwd, pwd->pw_uid, setwhat) < 0)
usr.bin/su/su.c
527
setusercontext(lc, pwd, pwd->pw_uid,
usr.sbin/cron/cron/do_command.c
265
setusercontext(lc, pwd, e->uid,
usr.sbin/cron/cron/popen.c
160
setusercontext(lc, pwd, e->uid,
usr.sbin/daemon/daemon.c
493
if (setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0)
usr.sbin/inetd/inetd.c
778
if (setusercontext(lc, pwd, pwd->pw_uid,
usr.sbin/jail/jail.c
151
if (setusercontext(lcap, pwd, pwd->pw_uid,