Home
last modified time | relevance | path

Searched refs:ut_name (Results 1 – 15 of 15) sorted by relevance

/dragonfly/contrib/tcsh-6/
H A Dtc.who.c43 # 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 Dlast.c359 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 Dlogwtmpx.c59 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmpx()
/dragonfly/usr.bin/who/
H A Dutmpentry.c180 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 Dutmpx.h106 #define ut_user ut_name
110 char ut_name[_UTX_USERSIZE]; /* login name */ member
/dragonfly/libexec/utmp_update/
H A Dutmp_update.c121 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 Dw.c216 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 Dprocess.c198 if (strncmp(ut->ut_name, name, sizeof(ut->ut_name)) != 0) in find_user()
/dragonfly/crypto/openssh/
H A Dloginrec.c694 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 Drusers.c154 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 Dpam_lastlog.c217 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx()
/dragonfly/include/rpcsvc/
H A Drnusers.x43 string ut_name<MAXUTLEN>;
/dragonfly/libexec/rpc.rusersd/
H A Drusers_proc.c173 utmp_idle[nusers].ui_utmp.ut_name = in do_names_2()
/dragonfly/lib/libc/gen/
H A Dutmpx.c284 pw = getpwnam(utx->ut_name); in pututxline()
/dragonfly/sbin/init/
H A Dinit.c1783 (void)strlcpy(ut.ut_name, name, sizeof(ut.ut_name)); in make_utmpx()