/dragonfly/contrib/tcsh-6/ |
H A D | tc.who.c | 43 # define UTNAMLEN sizeof(((struct utmpx *) 0)->ut_name) 81 # define ut_name ut_user macro 94 # define ut_name ut_user macro 97 # define UTNAMLEN sizeof(((struct utmp *) 0)->ut_name) 109 # define UTNAMLEN sizeof(__ut.ut_name) 304 if (utmp.ut_name[0] == '\0' && utmp.ut_line[0] == '\0') 324 if (utmp.ut_name[0] == '\0') { 328 else if (strncmp(utmp.ut_name, wp->who_name, UTNAMLEN) == 0) { 334 (void) strncpy(wp->who_new, utmp.ut_name, UTNAMLEN); 373 if (utmp.ut_name[0] == '\0') [all …]
|
/dragonfly/usr.bin/last/ |
H A D | last.c | 359 if (!strncmp(bp->ut_name, "shutdown", namesz)) in wtmpx() 361 else if (!strncmp(bp->ut_name, "reboot", namesz)) in wtmpx() 366 crmsg = strncmp(bp->ut_name, "shutdown", in wtmpx() 372 namesz, namesz, bp->ut_name, in wtmpx() 390 bp->ut_name, in wtmpx() 413 if (bp->ut_name[0] && wantx(bp, YES)) { in wtmpx() 416 namesz, namesz, bp->ut_name, in wtmpx() 489 if (!strncmp(step->name, bp->ut_name, UTX_USERSIZE)) in wantx()
|
/dragonfly/lib/libutil/ |
H A D | logwtmpx.c | 59 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmpx()
|
/dragonfly/usr.bin/who/ |
H A D | utmpentry.c | 180 COMPILE_ASSERT(sizeof(e->name) > sizeof(up->ut_name)); in getentryx() 193 (int)sizeof(up->ut_name), up->ut_name); in getentryx()
|
/dragonfly/include/ |
H A D | utmpx.h | 106 #define ut_user ut_name 110 char ut_name[_UTX_USERSIZE]; /* login name */ member
|
/dragonfly/libexec/utmp_update/ |
H A D | utmp_update.c | 121 if (strcmp(pwd->pw_name, utx->ut_name) != 0) in main() 123 "`%s' in utmpx entry", pwd->pw_name, utx->ut_name); in main()
|
/dragonfly/usr.bin/w/ |
H A D | w.c | 216 if (!strncmp(utx->ut_name, *user, UTX_USERSIZE)) in main() 224 (void)memcpy(ep->name, utx->ut_name, sizeof(utx->ut_name)); in main() 227 ep->name[sizeof(utx->ut_name)] = '\0'; in main()
|
/dragonfly/libexec/talkd/ |
H A D | process.c | 198 if (strncmp(ut->ut_name, name, sizeof(ut->ut_name)) != 0) in find_user()
|
/dragonfly/crypto/openssh/ |
H A D | loginrec.c | 694 strncpy(ut->ut_name, li->username, in construct_utmp() 695 MIN_SIZEOF(ut->ut_name, li->username)); in construct_utmp() 896 (strncmp(old_ut.ut_name, ut->ut_name, sizeof(ut->ut_name)) == 0)) in utmp_write_direct() 1170 if (strncmp(li->username, ut->ut_name, in wtmp_islogin() 1171 MIN_SIZEOF(li->username, ut->ut_name)) == 0) { in wtmp_islogin()
|
/dragonfly/usr.bin/rusers/ |
H A D | rusers.c | 154 up->utmpidlearr_val[x].ui_utmp.ut_name, in rusers_reply() 160 up->utmpidlearr_val[x].ui_utmp.ut_name); in rusers_reply()
|
/dragonfly/lib/libpam/modules/pam_lastlog/ |
H A D | pam_lastlog.c | 217 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx()
|
/dragonfly/include/rpcsvc/ |
H A D | rnusers.x | 43 string ut_name<MAXUTLEN>;
|
/dragonfly/libexec/rpc.rusersd/ |
H A D | rusers_proc.c | 173 utmp_idle[nusers].ui_utmp.ut_name = in do_names_2()
|
/dragonfly/lib/libc/gen/ |
H A D | utmpx.c | 284 pw = getpwnam(utx->ut_name); in pututxline()
|
/dragonfly/sbin/init/ |
H A D | init.c | 1783 (void)strlcpy(ut.ut_name, name, sizeof(ut.ut_name)); in make_utmpx()
|