| /freebsd/usr.bin/su/ |
| H A D | su.c | 397 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 D | Symbol.map | 117 setusercontext;
|
| H A D | login_cap.h | 120 int setusercontext(login_cap_t *, const struct passwd *, uid_t, unsigned int);
|
| H A D | login_class.c | 378 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 D | Makefile | 78 MLINKS+=login_class.3 setusercontext.3
|
| /freebsd/libexec/atrun/ |
| H A D | atrun.c | 314 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 D | calendar.c | 213 if (setusercontext(lc, pw, pw->pw_uid, in main()
|
| /freebsd/usr.sbin/jexec/ |
| H A D | jexec.c | 129 if (setusercontext(lcap, pwd, pwd->pw_uid, username in main()
|
| /freebsd/usr.sbin/cron/cron/ |
| H A D | popen.c | 157 setusercontext(lc, pwd, e->uid, in cron_popen()
|
| H A D | do_command.c | 287 setusercontext(lc, pwd, e->uid, in child_process()
|
| /freebsd/crypto/openssh/ |
| H A D | FREEBSD-upgrade | 138 4) setusercontext() environment 140 Our setusercontext(3) can set environment variables, which we must
|
| H A D | session.c | 1038 (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 D | newgrp.c | 284 setusercontext(lc, pwd, pwd->pw_uid, in loginshell()
|
| /freebsd/usr.bin/login/ |
| H A D | login.c | 526 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 D | ftpd.c | |
| /freebsd/usr.sbin/daemon/ |
| H A D | daemon.c | 658 if (setusercontext(NULL, pw, pw->pw_uid, LOGIN_SETALL) != 0) { in restrict_process()
|
| /freebsd/contrib/unbound/daemon/ |
| H A D | unbound.c | 611 if(setusercontext(NULL, pwd, cfg_uid, (unsigned) in perform_setup()
|
| /freebsd/usr.sbin/jail/ |
| H A D | command.c | 795 if (setusercontext(lcap, pwd, pwd->pw_uid, username in run_command()
|
| /freebsd/sbin/init/ |
| H A D | init.c | 2108 setusercontext(lc, (struct passwd*)NULL, 0, in setprocresources()
|
| /freebsd/usr.sbin/inetd/ |
| H A D | inetd.c | 835 if (setusercontext(lc, pwd, pwd->pw_uid, in main()
|
| /freebsd/contrib/unbound/ |
| H A D | configure.ac | 1827 AC_SEARCH_LIBS([setusercontext], [util]) 1828 …cvmsg sendmsg writev socketpair glob initgroups strftime localtime_r setusercontext _beginthreadex…
|
| H A D | config.h.in | 612 /* Define to 1 if you have the 'setusercontext' function. */
|
| H A D | configure | 24089 char setusercontext (); 24093 return setusercontext ();
|
| /freebsd/contrib/sendmail/src/ |
| H A D | deliver.c | 3147 setusercontext(NULL, pwd, pwd->pw_uid,
|
| /freebsd/contrib/sendmail/ |
| H A D | RELEASE_NOTES | 620 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
|