Home
last modified time | relevance | path

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

/external/toybox/toys/pending/
Dlast.c112 if (!strcmp(ut.ut_user, "runlevel")) ut.ut_type = RUN_LVL; in last_main()
113 else if (!strcmp(ut.ut_user, "reboot")) ut.ut_type = BOOT_TIME; in last_main()
114 else if (!strcmp(ut.ut_user, "shutdown")) ut.ut_type = SHUTDOWN_TIME; in last_main()
115 } else if (!*ut.ut_user) ut.ut_type = DEAD_PROCESS; in last_main()
116 else if (*ut.ut_user && *ut.ut_line && ut.ut_type != DEAD_PROCESS in last_main()
117 && strcmp(ut.ut_user, "LOGIN")) ut.ut_type = USER_PROCESS; in last_main()
122 if (ut.ut_line[0] == '|') ut.ut_type = OLD_TIME; in last_main()
123 if (ut.ut_line[0] == '{') ut.ut_type = NEW_TIME; in last_main()
126 if ((ut.ut_type == SHUTDOWN_TIME) || ((ut.ut_type == RUN_LVL) && in last_main()
132 } else if (ut.ut_type == BOOT_TIME) { in last_main()
[all …]
Dgetty.c273 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry()
275 entry.ut_type = LOGIN_PROCESS; in utmp_entry()
Dtelnetd.c121 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break; in utmp_entry()
123 if (!utp_ptr) entry.ut_type = DEAD_PROCESS; in utmp_entry()
/external/openssh/
Dloginrec.c662 ut->ut_type = USER_PROCESS; in construct_utmp()
668 ut->ut_type = DEAD_PROCESS; in construct_utmp()
755 utx->ut_type = USER_PROCESS; in construct_utmpx()
758 utx->ut_type = DEAD_PROCESS; in construct_utmpx()
1051 utx.ut_type = DEAD_PROCESS; in utmpx_perform_logout()
1169 if (ut->ut_type & USER_PROCESS) in wtmp_islogin()
1333 if (utx->ut_type == USER_PROCESS) in wtmpx_islogin()
1695 ut.ut_type = LOGIN_PROCESS; in record_failed_login()
Dconfig.h.in1259 /* Define if you have ut_type in utmp.h */
1262 /* Define if you have ut_type in utmpx.h */
Dconfigure.ac3672 OSSH_CHECK_HEADER_FOR_FIELD([ut_type], [utmp.h], [HAVE_TYPE_IN_UTMP])
3673 OSSH_CHECK_HEADER_FOR_FIELD([ut_type], [utmpx.h], [HAVE_TYPE_IN_UTMPX])
Dconfigure28807 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
28852 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
/external/toybox/toys/other/
Dw.c26 if (x->ut_type==7) { in w_main()
Duptime.c49 while ((entry = getutxent())) if (entry->ut_type == USER_PROCESS) users++; in uptime_main()
/external/toybox/toys/posix/
Dwho.c34 if ((toys.optflags & FLAG_a) || entry->ut_type == USER_PROCESS) { in who_main()
/external/ltp/tools/top-LTP/proc/
Dwhattime.c72 if ((utmpstruct->ut_type == USER_PROCESS) && in sprint_uptime()
/external/selinux/restorecond/
Dutmpwatcher.c63 if (u.ut_type == USER_PROCESS) in utmpwatcher_handle()
/external/toybox/lib/
Dportability.h228 struct utmpx {int ut_type;}; member
/external/ppp/pppd/
Dsys-solaris.c2479 utmpx.ut_type = USER_PROCESS;
2481 utmpx.ut_type = DEAD_PROCESS;
Dsys-linux.c2202 ut.ut_type = USER_PROCESS; in logwtmp()