Searched refs:getlogin (Results 1 - 25 of 104) sorted by relevance

12345

/freebsd-13-stable/usr.sbin/nologin/
H A Dnologin.c43 if ((user = getlogin()) == NULL)
/freebsd-13-stable/usr.bin/logname/
H A Dlogname.c62 if ((p = getlogin()) == NULL)
/freebsd-13-stable/contrib/ncurses/include/
H A Dnc_mingw.h64 #define getlogin() "username" macro
/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dget_default_username.c56 user = (const char *)getlogin ();
/freebsd-13-stable/lib/libc/gen/
H A Dgetlogin.c33 __SCCSID("@(#)getlogin.c 8.1 (Berkeley) 6/4/93");
51 getlogin(void) function
/freebsd-13-stable/libexec/ulog-helper/
H A Dulog-helper.c60 * session. First, validate the results of getlogin() against
61 * the password database. If getlogin() returns invalid data,
65 if ((login = getlogin()) != NULL && (pw = getpwnam(login)) != NULL &&
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getlogin.c59 atf_tc_set_md_var(tc, "descr", "getlogin(2) vs. getlogin_r(2)");
67 str = getlogin();
75 atf_tc_fail("getlogin(2) and getlogin_r(2) differ");
101 name = getlogin();
157 name = getlogin();
210 name = getlogin();
/freebsd-13-stable/usr.bin/tip/tip/
H A Dlog.c66 if ((user = getlogin()) == NOSTR) {
/freebsd-13-stable/tools/regression/priv/
H A Dpriv_proc_setlogin.c34 * Test privileges for setlogin(); first query with getlogin() so that the
55 loginname = getlogin();
57 warn("priv_proc_setlogin_setup: getlogin");
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dget_default_principal.c71 user = getlogin();
85 user = getlogin();
/freebsd-13-stable/contrib/opie/
H A Dopieinfo.c55 login = getlogin();
/freebsd-13-stable/usr.bin/talk/
H A Dget_names.c75 if ((my_name = getlogin()) == NULL) {
/freebsd-13-stable/lib/libpam/modules/pam_opie/
H A Dpam_opie.c75 if ((pwd = getpwnam(getlogin())) == NULL)
/freebsd-13-stable/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c80 getlogin(void) function
/freebsd-13-stable/usr.sbin/lpr/lprm/
H A Dlprm.c111 } else if ((person = getlogin()) == NULL) {
/freebsd-13-stable/usr.bin/passwd/
H A Dpasswd.c150 pam_err = pam_set_item(pamh, PAM_RUSER, getlogin());
/freebsd-13-stable/contrib/openpam/bin/su/
H A Dsu.c106 user = getlogin();
/freebsd-13-stable/contrib/nvi/common/
H A Dutil.c151 if (((h = getlogin()) != NULL &&
/freebsd-13-stable/usr.bin/rwall/
H A Drwall.c144 whom = getlogin();
/freebsd-13-stable/lib/libc/sys/
H A DMakefile.inc21 getlogin.o \
200 getlogin.2 \
411 MLINKS+=getlogin.2 getlogin_r.3
412 MLINKS+=getlogin.2 setlogin.2
/freebsd-13-stable/sys/kern/
H A Dcapabilities.conf305 getlogin
/freebsd-13-stable/sbin/reboot/
H A Dreboot.c154 if ((user = getlogin()) == NULL)
/freebsd-13-stable/tools/regression/security/cap_test/
H A Dcap_test_capmode.c171 if (getlogin() == NULL)
172 FAIL("test_sycalls:getlogin %d", errno);
/freebsd-13-stable/lib/libpam/modules/pam_unix/
H A Dpam_unix.c99 user = getlogin();
288 user = getlogin();
/freebsd-13-stable/sys/sys/
H A Dsyscall.mk46 getlogin.o \

Completed in 290 milliseconds

12345