Searched defs:entryx (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/utmp_update/
H A Dutmp_update.c119 struct utmpx entryx; local
161 load_utmpx_struct(&entryx, argv);
162 check_utmpx(&entryx);
168 if (fstatat(devfd, entryx.ut_line, &stat_arg, 0) < 0) {
188 err = invalid_utmpx(&entryx, rutmpx);
198 if (pututxline(&entryx) == (struct utmpx *)NULL) {
226 load_utmpx_struct(struct utmpx *entryx, char *argv[]) argument
233 (void) memset(entryx, 0, sizeof (struct utmpx));
249 (void) strncpy(entryx->ut_user, user, sizeof (entryx
308 check_utmpx(struct utmpx *entryx) argument
[all...]
/illumos-gate/usr/src/cmd/sulogin/
H A Dsulogin.c618 struct utmpx entryx; local
620 entryx.ut_tv.tv_sec = time(NULL);
621 entryx.ut_type = USER_PROCESS;
622 entryx.ut_pid = getpid();
623 (void) strcpy(entryx.ut_user, "root");
624 (void) strcpy(entryx.ut_line, ttyn);
625 entryx.ut_tv.tv_usec = 0;
626 entryx.ut_session = 0;
627 entryx.ut_id[0] = 'c';
628 entryx
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c482 invoke_utmp_update(const struct utmpx *entryx) argument
495 char pad[sizeof (entryx->pad) * 2 + 1];
496 char host[sizeof (entryx->ut_host) + 1];
506 (void) strncpy(user, entryx->ut_user, sizeof (entryx->ut_user));
507 user[sizeof (entryx->ut_user)] = '\0';
508 (void) strncpy(id, entryx->ut_id, sizeof (entryx->ut_id));
509 id[sizeof (entryx->ut_id)] = '\0';
510 (void) strncpy(line, entryx
[all...]

Completed in 56 milliseconds