| /freebsd-13.1/usr.bin/su/ |
| H A D | su.c | 412 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-13.1/lib/libutil/ |
| H A D | login_cap.h | 121 int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int);
|
| H A D | login_class.c | 379 rc = lc ? setusercontext(lc, NULL, 0, flags) : -1; in setclasscontext() 431 setusercontext(login_cap_t *lc, const struct passwd *pwd, uid_t uid, unsigned int flags) in setusercontext() function
|
| H A D | Makefile | 53 login_class.3 setclassresources.3 login_class.3 setusercontext.3
|
| /freebsd-13.1/libexec/atrun/ |
| H A D | atrun.c | 319 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & in run_file() 366 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL) != 0) in run_file()
|
| /freebsd-13.1/usr.sbin/jexec/ |
| H A D | jexec.c | 125 if (setusercontext(lcap, pwd, pwd->pw_uid, username in main()
|
| /freebsd-13.1/usr.bin/calendar/ |
| H A D | calendar.c | 228 if (setusercontext(lc, pw, pw->pw_uid, in main()
|
| /freebsd-13.1/usr.sbin/cron/cron/ |
| H A D | popen.c | 168 setusercontext(lc, pwd, e->uid,
|
| H A D | do_command.c | 304 setusercontext(lc, pwd, e->uid,
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | FREEBSD-upgrade | 161 4) setusercontext() environment 163 Our setusercontext(3) can set environment variables, which we must
|
| H A D | session.c | 1052 (void)setusercontext(lc, pw, pw->pw_uid, LOGIN_SETENV|LOGIN_SETPATH); in do_setup_env() 1392 if (setusercontext(lc, pw, pw->pw_uid, in do_setusercontext() 1432 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) { in do_setusercontext() 1440 (void) setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUMASK); in do_setusercontext()
|
| /freebsd-13.1/usr.bin/newgrp/ |
| H A D | newgrp.c | 283 setusercontext(lc, pwd, pwd->pw_uid, in loginshell()
|
| /freebsd-13.1/usr.bin/login/ |
| H A D | login.c | 532 if (setusercontext(lc, pwd, pwd->pw_uid, LOGIN_SETGROUP) != 0) { in main() 598 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
|
| /freebsd-13.1/usr.sbin/daemon/ |
| H A D | daemon.c | 466 if (setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0) in restrict_process()
|
| /freebsd-13.1/libexec/ftpd/ |
| H A D | ftpd.c | 1192 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in end_login() 1472 setusercontext(lc, pw, 0, LOGIN_SETALL & in pass() 1516 setusercontext(lc, pw, 0, LOGIN_SETRESOURCES); in pass() 2778 setusercontext(NULL, getpwuid(0), 0, LOGIN_SETALL & ~(LOGIN_SETLOGIN | in dologout()
|
| /freebsd-13.1/contrib/unbound/daemon/ |
| H A D | unbound.c | 585 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) in perform_setup()
|
| /freebsd-13.1/usr.sbin/jail/ |
| H A D | command.c | 757 if (setusercontext(lcap, pwd, pwd->pw_uid, username in run_command()
|
| /freebsd-13.1/sbin/init/ |
| H A D | init.c | 2037 setusercontext(lc, (struct passwd*)NULL, 0, in setprocresources()
|
| /freebsd-13.1/contrib/unbound/ |
| H A D | configure.ac | 1641 AC_SEARCH_LIBS([setusercontext], [util]) 1642 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
|
| H A D | config.h.in | 507 /* Define to 1 if you have the `setusercontext' function. */
|
| H A D | configure | 20430 char setusercontext (); 20434 return setusercontext (); 20471 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
|
| /freebsd-13.1/usr.sbin/inetd/ |
| H A D | inetd.c | 849 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
|
| /freebsd-13.1/contrib/sendmail/src/ |
| H A D | deliver.c | 2535 setusercontext(NULL, pwd, pwd->pw_uid,
|
| /freebsd-13.1/contrib/unbound/doc/ |
| H A D | Changelog | 6021 - fix bug #444: setusercontext was called too late (thanks Bjorn 8032 - call setusercontext if available (on BSD).
|
| /freebsd-13.1/contrib/sendmail/ |
| H A D | RELEASE_NOTES | 322 setusercontext() on deliveries as a different user. 2019 Queue up mail with a temporary error if setusercontext() fails 5603 FreeBSD 2.2.2 and later support setusercontext(). From
|