Home
last modified time | relevance | path

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

/freebsd/usr.bin/su/
H A Dsu.c397 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) < 0) in main()
493 if (setusercontext(lc, pwd, pwd->pw_uid, setwhat) < 0) in main()
517 setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd/lib/libutil/
H A Dlogin_cap.h120 int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int);
H A Dlogin_class.c378 rc = lc ? setusercontext(lc, NULL, 0, flags) : -1; in setclasscontext()
531 setusercontext(login_cap_t *lc, const struct passwd *pwd, uid_t uid, unsigned int flags) in setusercontext() function
H A DMakefile50 login_class.3 setclassresources.3 login_class.3 setusercontext.3
/freebsd/libexec/atrun/
H A Datrun.c314 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & in run_file()
361 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL) != 0) in run_file()
/freebsd/usr.bin/calendar/
H A Dcalendar.c213 if (setusercontext(lc, pw, pw->pw_uid, in main()
/freebsd/usr.sbin/jexec/
H A Djexec.c123 if (setusercontext(lcap, pwd, pwd->pw_uid, username in main()
/freebsd/usr.sbin/cron/cron/
H A Dpopen.c155 setusercontext(lc, pwd, e->uid, in cron_popen()
H A Ddo_command.c287 setusercontext(lc, pwd, e->uid, in child_process()
/freebsd/crypto/openssh/
H A DFREEBSD-upgrade138 4) setusercontext() environment
140 Our setusercontext(3) can set environment variables, which we must
H A Dsession.c1038 (void)setusercontext(lc, pw, pw->pw_uid, LOGIN_SETENV|LOGIN_SETPATH); in do_setup_env()
1373 if (setusercontext(lc, pw, pw->pw_uid, in do_setusercontext()
1413 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) { in do_setusercontext()
1421 (void) setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUMASK); in do_setusercontext()
/freebsd/usr.bin/newgrp/
H A Dnewgrp.c280 setusercontext(lc, pwd, pwd->pw_uid, in loginshell()
/freebsd/usr.bin/login/
H A Dlogin.c526 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) != 0) { in main()
592 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd/libexec/ftpd/
H A Dftpd.c1157 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in end_login()
1429 setusercontext(lc, pw, 0, LOGIN_SETALL & in pass()
1473 setusercontext(lc, pw, 0, LOGIN_SETRESOURCES); in pass()
2735 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in dologout()
/freebsd/usr.sbin/daemon/
H A Ddaemon.c658 if (setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0) { in restrict_process()
/freebsd/contrib/unbound/daemon/
H A Dunbound.c584 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) in perform_setup()
/freebsd/usr.sbin/jail/
H A Dcommand.c779 if (setusercontext(lcap, pwd, pwd->pw_uid, username in run_command()
/freebsd/sbin/init/
H A Dinit.c2100 setusercontext(lc, (struct passwd*)NULL, 0, in setprocresources()
/freebsd/usr.sbin/inetd/
H A Dinetd.c835 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
/freebsd/contrib/unbound/
H A Dconfigure.ac1808 AC_SEARCH_LIBS([setusercontext], [util])
1809 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
H A Dconfig.h.in599 /* Define to 1 if you have the `setusercontext' function. */
H A Dconfigure23203 char setusercontext ();
23207 return setusercontext ();
/freebsd/contrib/sendmail/src/
H A Ddeliver.c3147 setusercontext(NULL, pwd, pwd->pw_uid,
/freebsd/contrib/sendmail/
H A DRELEASE_NOTES620 setusercontext() on deliveries as a different user.
2317 Queue up mail with a temporary error if setusercontext() fails
5901 FreeBSD 2.2.2 and later support setusercontext(). From
/freebsd/contrib/unbound/doc/
H A DChangelog7668 - fix bug #444: setusercontext was called too late (thanks Bjorn
9679 - call setusercontext if available (on BSD).