Defined in 8 files as a prototype:
Defined in 2 files as a macro:
Defined in 2 files as a function:
Referenced in 59 files:
- bin/ksh/misc.c, line 324
- crypto/dist/ipsec-tools/src/racoon/privsep.c, line 278
- crypto/external/bsd/heimdal/dist/lib/roken/iruserok.c
- crypto/external/bsd/openssh/dist/uidswap.c
- external/bsd/am-utils/dist/hlfsd/homedir.c
- external/bsd/am-utils/dist/include/am_defs.h, line 1395
- external/bsd/cron/dist/crontab.c
- external/bsd/cron/dist/misc.c, line 203
- external/bsd/ntp/dist/ntpd/ntpd.c, line 788
- external/bsd/openldap/dist/servers/slapd/user.c, line 166
- external/bsd/openpam/dist/lib/libpam/openpam_borrow_cred.c, line 103
- external/bsd/openpam/dist/lib/libpam/openpam_restore_cred.c, line 79
- external/bsd/pam-u2f/dist/drop_privs.c
- external/bsd/ppp/dist/pppd/auth.c
- external/bsd/ppp/dist/pppd/options.c
- external/bsd/ppp/dist/pppd/tty.c
- external/bsd/top/dist/machine/m_sunos5.c
- external/gpl2/gmake/dist/misc.c
- external/gpl2/rcs/dist/src/rcsutil.c, line 1352
- external/gpl2/rcs/include/conf.h, line 340
- external/gpl3/binutils/dist/gprofng/libcollector/linetrace.c
- external/ibm-public/postfix/dist/src/global/pipe_command.c, line 490
- external/ibm-public/postfix/dist/src/util/set_eugid.c
- external/ibm-public/postfix/dist/src/util/set_ugid.c, line 52
- external/ibm-public/postfix/dist/src/util/sys_defs.h, line 656
- external/mpl/bind/dist/bin/named/unix/os.c, line 665
- lib/libc/net/rcmd.c
- lib/libpam/modules/pam_krb5/pam_krb5.c
- lib/libpam/modules/pam_ksu/pam_ksu.c
- libexec/atrun/atrun.c, line 139
- libexec/ftpd/ftpd.c
- libexec/utmp_update/utmp_update.c
- regress/sys/kern/getcwd/getcwd.c
- sbin/mount_portal/pt_file.c
- sbin/mount_portal/pt_filter.c
- sbin/ping6/ping6_hostops.c, line 55
- sbin/ping6/prog_ops.h, line 86
- sys/rump/librump/rumpkern/rump_syscalls.c, line 2194
- tests/dev/audio/audiotest.c, line 1246
- tests/lib/libc/sys/t_issetugid.c, line 107
- usr.bin/at/privs.c
- usr.bin/calendar/calendar.c
- usr.bin/login/login.c
- usr.bin/login/login_pam.c
- usr.bin/rdist/docmd.c
- usr.bin/rdist/main.c, line 200
- usr.sbin/kgmon/kgmon.c
- usr.sbin/lpr/common_source/common.c
- usr.sbin/lpr/common_source/displayq.c
- usr.sbin/lpr/common_source/rmjob.c
- usr.sbin/lpr/common_source/startdaemon.c
- usr.sbin/lpr/lpc/cmds.c
- usr.sbin/lpr/lpc/lpc.c, line 98
- usr.sbin/lpr/lpq/lpq.c, line 85
- usr.sbin/lpr/lpr/lpr.c
- usr.sbin/lpr/lprm/lprm.c, line 92
- usr.sbin/syslogd/syslogd.c, line 577
- usr.sbin/traceroute6/traceroute6.c, line 377
- usr.sbin/user/user.c