Home
last modified time | relevance | path

Searched refs:setusercontext (Results 1 – 25 of 25) sorted by relevance

/freebsd-12.1/usr.bin/su/
H A Dsu.c412 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) < 0) in main()
508 if (setusercontext(lc, pwd, pwd->pw_uid, setwhat) < 0) in main()
532 setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd-12.1/libexec/atrun/
H A Datrun.c319 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & in run_file()
366 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL) != 0) in run_file()
/freebsd-12.1/lib/libutil/
H A Dlogin_cap.h121 int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int);
H A Dlogin_class.c374 rc = lc ? setusercontext(lc, NULL, 0, flags) : -1; in setclasscontext()
426 setusercontext(login_cap_t *lc, const struct passwd *pwd, uid_t uid, unsigned int flags) in setusercontext() function
H A DMakefile51 login_class.3 setclassresources.3 login_class.3 setusercontext.3
/freebsd-12.1/usr.sbin/jexec/
H A Djexec.c125 if (setusercontext(lcap, pwd, pwd->pw_uid, username in main()
/freebsd-12.1/crypto/openssh/
H A DFREEBSD-upgrade132 4) setusercontext() environment
134 Our setusercontext(3) can set environment variables, which we must
H A Dsession.c1080 (void)setusercontext(lc, pw, pw->pw_uid, LOGIN_SETENV|LOGIN_SETPATH); in do_setup_env()
1408 if (setusercontext(lc, pw, pw->pw_uid, in do_setusercontext()
1448 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) { in do_setusercontext()
1456 (void) setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUMASK); in do_setusercontext()
/freebsd-12.1/usr.sbin/cron/cron/
H A Dpopen.c167 setusercontext(lc, pwd, e->uid,
H A Ddo_command.c297 setusercontext(lc, pwd, e->uid,
/freebsd-12.1/usr.bin/newgrp/
H A Dnewgrp.c283 setusercontext(lc, pwd, pwd->pw_uid, in loginshell()
/freebsd-12.1/usr.bin/login/
H A Dlogin.c532 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) != 0) { in main()
598 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd-12.1/release/picobsd/tinyware/login/
H A Dpico-login.c604 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) != 0) {
662 if (setusercontext(lc, pwd, pwd->pw_uid,
/freebsd-12.1/usr.sbin/daemon/
H A Ddaemon.c445 if (setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0) in restrict_process()
/freebsd-12.1/libexec/ftpd/
H A Dftpd.c1206 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in end_login()
1486 setusercontext(lc, pw, 0, LOGIN_SETALL & in pass()
1530 setusercontext(lc, pw, 0, LOGIN_SETRESOURCES); in pass()
2791 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in dologout()
/freebsd-12.1/contrib/unbound/daemon/
H A Dunbound.c525 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) in perform_setup()
/freebsd-12.1/usr.sbin/jail/
H A Dcommand.c724 if (setusercontext(lcap, pwd, pwd->pw_uid, username in run_command()
/freebsd-12.1/sbin/init/
H A Dinit.c2053 setusercontext(lc, (struct passwd*)NULL, 0, in setprocresources()
/freebsd-12.1/contrib/unbound/
H A Dconfigure.ac1523 AC_SEARCH_LIBS([setusercontext], [util])
1524 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
H A Dconfig.h.in461 /* Define to 1 if you have the `setusercontext' function. */
H A Dconfigure20115 char setusercontext ();
20119 return setusercontext ();
20156 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
/freebsd-12.1/usr.sbin/inetd/
H A Dinetd.c851 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd-12.1/contrib/sendmail/src/
H A Ddeliver.c2434 setusercontext(NULL, pwd, pwd->pw_uid,
/freebsd-12.1/contrib/unbound/doc/
H A DChangelog4604 - fix bug #444: setusercontext was called too late (thanks Bjorn
6615 - call setusercontext if available (on BSD).
/freebsd-12.1/contrib/sendmail/
H A DRELEASE_NOTES204 setusercontext() on deliveries as a different user.
1901 Queue up mail with a temporary error if setusercontext() fails
5485 FreeBSD 2.2.2 and later support setusercontext(). From