HomeSort by: relevance | last modified time | path
    Searched refs:ut_name (Results 1 - 22 of 22) sorted by relevancy

  /src/include/
utmp.h 61 char ut_name[UT_NAMESIZE]; member in struct:utmp
utmpx.h 88 #define ut_user ut_name
104 char ut_name[_UTX_USERSIZE]; /* login name */ member in struct:utmpx
  /src/libexec/ftpd/
logutmp.c 115 if (!ubuf.ut_name[0]) {
143 if (!ut.ut_name[0]
146 memset(ut.ut_name, 0, UT_NAMESIZE);
logwtmp.c 96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
129 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
ftpd.c 1234 (void)strncpy(utmpx.ut_name, name, sizeof(utmpx.ut_name));
1247 (void)strncpy(utmp.ut_name, name, sizeof(utmp.ut_name));
  /src/lib/libc/compat/include/
utmp.h 44 char ut_name[UT_NAMESIZE]; member in struct:utmp50
utmpx.h 37 char ut_name[_UTX_USERSIZE]; /* login name */ member in struct:utmpx50
  /src/lib/libutil/
logout.c 65 if (!ut.ut_name[0] || strncmp(ut.ut_line, line,
68 memset(ut.ut_name, 0, (size_t)UT_NAMESIZE);
logwtmp.c 68 (void) strncpy(ut.ut_name, name, sizeof(ut.ut_name));
logwtmpx.c 67 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
  /src/usr.bin/who/
utmpentry.c 218 if (fname == NULL && (*ut->ut_name == '\0' ||
269 COMPILE_ASSERT(sizeof(e->name) > sizeof(up->ut_name));
281 memcpy(e->name, up->ut_name, sizeof(up->ut_name));
300 COMPILE_ASSERT(sizeof(e->name) > sizeof(up->ut_name));
312 memcpy(e->name, up->ut_name, sizeof(up->ut_name));
  /src/lib/librpcsvc/
rnusers.x 60 % char ut_name[8]; /* user id */
129 % ptr = objp->ut_name;
130 % size = (u_int)sizeof(objp->ut_name);
  /src/usr.sbin/ac/
ac.c 367 Users = update_user(Users, lp->usr.ut_name, secs);
394 Users = update_user(Users, lp->usr.ut_name, secs);
400 sizeof (lp->usr.ut_name), lp->usr.ut_name,
449 up->ut_line, sizeof (up->ut_name), up->ut_name);
507 if (*usr.ut_name) {
519 sizeof (usr.ut_name), usr.ut_name);
  /src/usr.bin/w/
w.c 247 strncmp(utx->ut_name, sel_user, sizeof(utx->ut_name)) != 0)
259 (void)memcpy(ep->name, utx->ut_name, sizeof(utx->ut_name));
260 ep->name[sizeof(utx->ut_name)] = '\0';
278 if (ut->ut_name[0] == '\0')
282 strncmp(ut->ut_name, sel_user, sizeof(ut->ut_name)) != 0)
301 (void)memcpy(ep->name, ut->ut_name, sizeof(ut->ut_name));
    [all...]
  /src/lib/libc/gen/
utmpx.c 400 (void)memcpy(u->ut_name, ux->ut_name, sizeof(u->ut_name));
413 (void)memcpy(ux->ut_name, u->ut_name, sizeof(u->ut_name));
  /src/libexec/utmp_update/
utmp_update.c 131 if (strcmp(pwd->pw_name, utx->ut_name) != 0)
133 "`%s' in utmpx entry", pwd->pw_name, utx->ut_name);
  /src/lib/libpam/modules/pam_lastlog/
pam_lastlog.c 279 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
342 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
  /src/usr.bin/login/
common.c 246 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
306 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
  /src/usr.bin/last/
want.c 78 char namebuf[sizeof(bp->ut_name) + 1], *namep;
81 int checkname = namesz > (int)sizeof(bp->ut_name);
297 if (!strncmp(step->name, bp->ut_name, NAMESIZE))
  /src/usr.bin/rusers/
rusers.c 159 #define NAMEWID (int)sizeof(up->uia_arr[0]->ui_utmp.ut_name)
173 up->uia_arr[x]->ui_utmp.ut_name);
214 NAMEWID, NAMEWID, up->uia_arr[x]->ui_utmp.ut_name,
  /src/libexec/rpc.rusersd/
rusers_proc.c 260 (void)strncpy(utmp_idle[nu].ui_utmp.ut_name, e->name,
261 sizeof(utmp_idle[nu].ui_utmp.ut_name));
  /src/sbin/init/
init.c 1349 (void)strlcpy(ut.ut_name, name, sizeof(ut.ut_name));

Completed in 31 milliseconds