Defined in 5 files as a prototype:
Defined in 2 files as a function:
Referenced in 50 files:
- bin/ksh/misc.c, line 326
- crypto/dist/ipsec-tools/src/racoon/privsep.c, line 264
- crypto/external/bsd/openssh/dist/ssh-agent.c, line 2043
- crypto/external/bsd/openssh/dist/uidswap.c
- external/bsd/cron/dist/crontab.c
- external/bsd/ntp/dist/ntpd/ntpd.c, line 763
- external/bsd/openldap/dist/servers/slapd/user.c, line 149
- external/bsd/openpam/dist/lib/libpam/openpam_borrow_cred.c, line 103
- external/bsd/openpam/dist/lib/libpam/openpam_restore_cred.c, line 81
- external/bsd/pam-u2f/dist/drop_privs.c
- external/bsd/top/dist/machine/m_sunos5.c, line 1221
- external/gpl2/gmake/dist/misc.c
- external/gpl2/xcvs/dist/src/run.c, line 275
- external/gpl3/binutils/dist/gprofng/libcollector/linetrace.c
- external/gpl3/gdb.old/dist/gdb/darwin-nat.c, line 1721
- external/gpl3/gdb/dist/gdb/darwin-nat.c, line 1721
- external/ibm-public/postfix/dist/src/util/set_eugid.c, line 63
- external/ibm-public/postfix/dist/src/util/sys_defs.h, line 657
- external/mpl/bind/dist/bin/named/unix/os.c, line 647
- games/larn/main.c, line 88
- games/larn/scores.c
- games/rogue/init.c, line 92
- games/rogue/machdep.c
- games/rogue/score.c
- games/sail/main.c, line 70
- games/sail/misc.c
- games/sail/sync.c
- games/tetris/scores.c
- games/tetris/tetris.c, line 144
- lib/libc/net/rcmd.c
- lib/libpam/modules/pam_krb5/pam_krb5.c
- libexec/atrun/atrun.c, line 129
- libexec/ftpd/ftpd.c, line 1443
- sbin/ccdconfig/ccdconfig.c
- sbin/mount_portal/pt_filter.c
- sys/rump/librump/rumpkern/rump_syscalls.c, line 2166
- tests/lib/libc/sys/t_issetugid.c, line 93
- usr.bin/at/privs.c
- usr.bin/calendar/calendar.c, line 187
- usr.bin/fstat/fstat.c
- usr.bin/login/login.c
- usr.bin/login/login_pam.c
- usr.bin/netstat/main.c
- usr.bin/pmap/main.c
- usr.bin/systat/main.c
- usr.bin/wall/wall.c
- usr.bin/write/term_chk.c
- usr.bin/write/write.c, line 83
- usr.sbin/pstat/pstat.c
- usr.sbin/syslogd/syslogd.c, line 572