Symbol: getlogin
bin/date/date.c
360
if ((p = getlogin()) == NULL)
bin/sh/parser.c
1978
login = getlogin();
crypto/heimdal/appl/su/su.c
157
login_name = getlogin();
crypto/heimdal/lib/krb5/get_default_principal.c
71
user = getlogin();
crypto/heimdal/lib/krb5/get_default_principal.c
85
user = getlogin();
crypto/heimdal/lib/roken/get_default_username.c
56
user = (const char *)getlogin ();
crypto/krb5/src/clients/ksu/main.c
326
source_user = getlogin(); /*checks for the the login name in /etc/utmp*/
include/unistd.h
350
char *getlogin(void);
lib/libc/gen/glob-compat11.c
421
if (((h = getlogin()) != NULL &&
lib/libc/gen/glob.c
483
if (((h = getlogin()) != NULL &&
lib/libfetch/ftp.c
936
if ((logname = getlogin()) == NULL)
lib/libpam/modules/pam_unix/pam_unix.c
295
user = getlogin();
lib/libpam/modules/pam_unix/pam_unix.c
97
user = getlogin();
libexec/ulog-helper/ulog-helper.c
63
if ((login = getlogin()) != NULL && (pw = getpwnam(login)) != NULL &&
sbin/reboot/reboot.c
419
if ((user = getlogin()) == NULL)
sbin/shutdown/shutdown.c
239
if (!(whom = getlogin()))
tests/sys/audit/process-control.c
1236
ATF_REQUIRE((name = getlogin()) != NULL);
tests/sys/capsicum/capmode.cc
280
EXPECT_TRUE(getlogin() != NULL);
tests/sys/fs/fusefs/default_permissions.cc
257
getgrouplist(getlogin(), getegid(), groups, &ngroups);
tools/regression/priv/priv_proc_setlogin.c
53
loginname = getlogin();
tools/regression/security/cap_test/cap_test_capmode.c
166
if (getlogin() == NULL)
usr.bin/at/at.c
318
mailname = getlogin();
usr.bin/id/id.c
238
if ((login = getlogin()) == NULL)
usr.bin/logger/logger.c
181
tag = getlogin();
usr.bin/logname/logname.c
50
if ((p = getlogin()) == NULL)
usr.bin/passwd/passwd.c
147
pam_err = pam_set_item(pamh, PAM_RUSER, getlogin());
usr.bin/rwall/rwall.c
131
whom = getlogin();
usr.bin/su/su.c
244
username = getlogin();
usr.bin/talk/get_names.c
69
if ((my_name = getlogin()) == NULL) {
usr.bin/tip/tip/log.c
56
if ((user = getlogin()) == NOSTR) {
usr.bin/wall/wall.c
201
if (!(whom = getlogin()))
usr.bin/write/write.c
118
if ((login = getlogin()) == NULL) {
usr.sbin/lpr/lpr/lpr.c
281
lpr_username = getlogin(); /* person doing 'lpr' */
usr.sbin/lpr/lprm/lprm.c
97
} else if ((person = getlogin()) == NULL) {
usr.sbin/nologin/nologin.c
41
if ((user = getlogin()) == NULL)