Defined in 7 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 181 files:
- bin/pax/cache.c, 2 times
- bin/pax/sel_subs.c, line 129
- bin/pkill/pkill.c, line 741
- bin/ps/ps.c, line 920
- bin/sh/expand.c, line 390
- cddl/contrib/opensolaris/cmd/zfs/zfs_main.c, 2 times
- cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c, line 2971
- contrib/amd/amd/info_passwd.c, line 100
- contrib/amd/amd/ops_pcfs.c, line 161
- contrib/amd/amd/ops_udf.c, line 113
- contrib/apr/user/unix/userinfo.c, line 59
- contrib/blacklist/bin/conf.c, line 354
- contrib/dma/dma-mbox-create.c, line 128
- contrib/dma/dma.c, 2 times
- contrib/dma/util.c, line 195
- contrib/ee/ee.c, line 4908
- contrib/gcclibs/libmudflap/mf-hooks2.c, 2 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 225
- contrib/libarchive/cpio/cmdline.c, line 346
- contrib/libarchive/libarchive/archive_write_disk_set_standard_lookup.c, line 224
- contrib/libc-pwcache/pwcache.c, 2 times
- contrib/libreadline/tilde.c, 2 times
- contrib/netbsd-tests/kernel/kqueue/t_proc2.c, line 65
- contrib/netbsd-tests/lib/libc/c063/t_fchownat.c, line 60
- contrib/netbsd-tests/lib/libc/sys/t_chroot.c, line 274
- contrib/netbsd-tests/lib/libc/sys/t_issetugid.c, line 51
- contrib/netbsd-tests/lib/libc/sys/t_kill.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_mkdir.c, line 120
- contrib/netbsd-tests/lib/libc/sys/t_msgctl.c, 2 times
- contrib/netbsd-tests/lib/libc/sys/t_msgsnd.c, line 298
- contrib/netbsd-tests/lib/libc/sys/t_revoke.c, line 145
- contrib/ntp/ntpd/ntpd.c, line 993
- contrib/nvi/common/util.c, 2 times
- contrib/openbsm/bin/auditdistd/receiver.c, line 538
- contrib/openbsm/bin/auditdistd/sandbox.c, line 96
- contrib/openbsm/bin/auditreduce/auditreduce.c, 3 times
- contrib/openpam/bin/su/su.c, line 131
- contrib/openpam/modules/pam_unix/pam_unix.c, line 86
- contrib/opie/glob.c, line 327
- contrib/opie/opieftpd.c, line 363
- contrib/opie/opielogin.c, line 247
- contrib/opie/opiepasswd.c, 2 times
- contrib/opie/opiesu.c, line 150
- contrib/pam_modules/pam_passwdqc/pam_passwdqc.c, line 378
- contrib/pf/ftp-proxy/ftp-proxy.c, line 275
- contrib/pf/pflogd/privsep.c, line 87
- contrib/pf/tftp-proxy/tftp-proxy.c, line 114
- contrib/sendmail/editmap/editmap.c, line 239
- contrib/sendmail/include/sm/conf.h, line 1635
- contrib/sendmail/libsm/mbdb.c, line 332
- contrib/sendmail/libsm/mpeix.c, 2 times
- contrib/sendmail/mail.local/mail.local.c, line 407
- contrib/sendmail/makemap/makemap.c, line 269
- contrib/sendmail/src/conf.c, line 4522
- contrib/smbfs/lib/smb/ctx.c, line 408
- contrib/tcp_wrappers/options.c, 2 times
- contrib/tcp_wrappers/safe_finger.c, line 67
- contrib/tcpdump/tcpdump.c, line 608
- contrib/tcsh/sh.misc.c, line 606
- contrib/tcsh/tc.os.h, line 524
- contrib/telnet/libtelnet/kerberos5.c, line 510
- contrib/telnet/libtelnet/krb4encpwd.c, line 416
- contrib/telnet/libtelnet/rsaencpwd.c, line 463
- contrib/telnet/libtelnet/sra.c, line 421
- contrib/telnet/telnet/commands.c, line 2483
- contrib/tnftp/src/main.c, line 458
- contrib/top/username.c, line 101
- contrib/tzcode/zic/zic.c, line 2739
- contrib/unbound/daemon/unbound.c, line 399
- contrib/unbound/smallapp/unbound-checkconf.c, line 440
- contrib/unbound/util/config_file.c, line 1537
- crypto/heimdal/appl/kf/kfd.c, line 211
- crypto/heimdal/appl/rsh/rshd.c, 2 times
- crypto/heimdal/appl/telnet/libtelnet/kerberos5.c, line 549
- crypto/heimdal/kcm/config.c, line 176
- crypto/heimdal/kdc/main.c, line 77
- crypto/heimdal/lib/gssapi/krb5/pname_to_uid.c, line 73
- crypto/heimdal/lib/gssapi/mech/gss_pname_to_uid.c, line 113
- crypto/heimdal/lib/krb5/kuserok.c, line 258
- crypto/heimdal/lib/roken/k_getpwnam.c, line 46
- crypto/openssh/auth.c, line 648
- crypto/openssh/auth2-pubkey.c, 2 times
- crypto/openssh/loginrec.c, line 384
- crypto/openssh/misc.c, line 606
- crypto/openssh/openbsd-compat/glob.c, line 404
- crypto/openssh/servconf.c, line 769
- crypto/openssh/sshd.c, line 1669
- lib/libc/gen/glob.c, 2 times
- lib/libc/net/rcmd.c, line 456
- lib/libc/net/rcmdsh.c, line 76
- lib/libc/posix1e/acl_from_text.c, line 283
- lib/libc/tests/nss/getpw_test.c, 4 times
- lib/libcasper/services/cap_pwd/cap_pwd.c, line 651
- lib/libcasper/services/cap_pwd/tests/pwd_test.c, 2 times
- lib/libedit/filecomplete.c, line 115
- lib/libpam/modules/pam_chroot/pam_chroot.c, line 60
- lib/libpam/modules/pam_ftpusers/pam_ftpusers.c, line 68
- lib/libpam/modules/pam_group/pam_group.c, 2 times
- lib/libpam/modules/pam_krb5/pam_krb5.c, 2 times
- lib/libpam/modules/pam_nologin/pam_nologin.c, line 77
- lib/libpam/modules/pam_opie/pam_opie.c, line 73
- lib/libpam/modules/pam_opieaccess/pam_opieaccess.c, line 67
- lib/libpam/modules/pam_radius/pam_radius.c, line 323
- lib/libpam/modules/pam_rhosts/pam_rhosts.c, line 65
- lib/libpam/modules/pam_securetty/pam_securetty.c, line 67
- lib/libpam/modules/pam_self/pam_self.c, line 66
- lib/libpam/modules/pam_ssh/pam_ssh.c, 2 times
- lib/libpam/modules/pam_tacplus/pam_tacplus.c, line 194
- lib/libpam/modules/pam_unix/pam_unix.c, 3 times
- lib/libugidfw/ugidfw.c, 2 times
- libexec/comsat/comsat.c, line 228
- libexec/ftpd/ftpd.c, 2 times
- libexec/rlogind/rlogind.c, line 508
- libexec/rpc.rwalld/rwalld.c, line 76
- libexec/rshd/rshd.c, line 357
- libexec/tftpd/tftpd.c, line 365
- libexec/ulog-helper/ulog-helper.c, line 63
- release/picobsd/tinyware/login/pico-login.c, 2 times
- release/picobsd/tinyware/passwd/local_passwd.c, line 204
- sbin/devfs/rule.c, line 378
- sbin/dhclient/dhclient.c, 2 times
- sbin/fsdb/fsdb.c, line 1054
- sbin/hastd/subr.c, line 171
- sbin/init/init.c, line 914
- sbin/ipfw/ipfw2.c, line 4554
- sbin/mdmfs/mdmfs.c, line 651
- sbin/mknod/mknod.c, line 105
- sbin/mount_msdosfs/mount_msdosfs.c, line 259
- sbin/mount_unionfs/mount_unionfs.c, line 115
- tests/sys/mac/bsdextended/ugidfw_test.c, line 156
- tools/regression/mlock/mlock.c, line 58
- usr.bin/at/at.c, line 325
- usr.bin/chpass/chpass.c, line 148
- usr.bin/find/function.c, line 1646
- usr.bin/finger/finger.c, 3 times
- usr.bin/finger/util.c, line 200
- usr.bin/fstat/fstat.c, line 139
- usr.bin/getent/getent.c, line 403
- usr.bin/id/id.c, line 452
- usr.bin/ipcs/ipcs.c, line 558
- usr.bin/killall/killall.c, line 273
- usr.bin/limits/limits.c, line 313
- usr.bin/login/login.c, 2 times
- usr.bin/mail/getname.c, line 66
- usr.bin/newkey/newkey.c, line 122
- usr.bin/passwd/passwd.c, line 104
- usr.bin/quota/quota.c, line 221
- usr.bin/rctl/rctl.c, line 62
- usr.bin/renice/renice.c, line 102
- usr.bin/su/su.c, 2 times
- usr.bin/uudecode/uudecode.c, line 229
- usr.bin/wall/wall.c, line 153
- usr.sbin/bluetooth/sdpd/main.c, line 167
- usr.sbin/chown/chown.c, line 252
- usr.sbin/chroot/chroot.c, line 147
- usr.sbin/cron/cron/database.c, line 263
- usr.sbin/cron/cron/do_command.c, line 277
- usr.sbin/cron/cron/popen.c, line 158
- usr.sbin/cron/crontab/crontab.c, line 155
- usr.sbin/cron/lib/entry.c, line 336
- usr.sbin/daemon/daemon.c, line 441
- usr.sbin/edquota/edquota.c, line 346
- usr.sbin/fmtree/spec.c, line 308
- usr.sbin/inetd/builtins.c, line 657
- usr.sbin/inetd/inetd.c, 3 times
- usr.sbin/jail/command.c, line 897
- usr.sbin/jexec/jexec.c, line 161
- usr.sbin/lpr/common_source/ctlinfo.c, line 574
- usr.sbin/lpr/lpd/printjob.c, 2 times
- usr.sbin/mountd/mountd.c, line 2905
- usr.sbin/newsyslog/newsyslog.c, line 1169
- usr.sbin/nfsuserd/nfsuserd.c, 2 times
- usr.sbin/nscd/agents/passwd.c, line 173
- usr.sbin/ppp/auth.c, line 134
- usr.sbin/ppp/systems.c, line 149
- usr.sbin/pw/pw.c, line 65
- usr.sbin/rpc.lockd/kern.c, line 165
- usr.sbin/rpcbind/rpcbind.c, line 223
- usr.sbin/rwhod/rwhod.c, line 309
- usr.sbin/ypldap/ldapclient.c, line 369
- usr.sbin/ypldap/ypldap.c, line 600