Searched refs:ut_type (Results 1 - 13 of 13) sorted by relevance

/external/toybox/toys/other/
H A Dw.c26 if (x->ut_type==7) {
H A Duptime.c49 while ((entry = getutxent())) if (entry->ut_type == USER_PROCESS) users++;
/external/toybox/toys/pending/
H A Dlast.c112 if (!strcmp(ut.ut_user, "runlevel")) ut.ut_type = RUN_LVL;
113 else if (!strcmp(ut.ut_user, "reboot")) ut.ut_type = BOOT_TIME;
114 else if (!strcmp(ut.ut_user, "shutdown")) ut.ut_type = SHUTDOWN_TIME;
115 } else if (!*ut.ut_user) ut.ut_type = DEAD_PROCESS;
116 else if (*ut.ut_user && *ut.ut_line && ut.ut_type != DEAD_PROCESS
117 && strcmp(ut.ut_user, "LOGIN")) ut.ut_type = USER_PROCESS;
122 if (ut.ut_line[0] == '|') ut.ut_type = OLD_TIME;
123 if (ut.ut_line[0] == '{') ut.ut_type = NEW_TIME;
126 if ((ut.ut_type == SHUTDOWN_TIME) || ((ut.ut_type
[all...]
H A Dgetty.c273 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break;
275 entry.ut_type = LOGIN_PROCESS;
H A Dtelnetd.c121 if (utp_ptr->ut_pid == pid && utp_ptr->ut_type >= INIT_PROCESS) break;
123 if (!utp_ptr) entry.ut_type = DEAD_PROCESS;
/external/toybox/toys/posix/
H A Dwho.c34 if ((toys.optflags & FLAG_a) || entry->ut_type == USER_PROCESS) {
/external/ltp/tools/top-LTP/proc/
H A Dwhattime.c72 if ((utmpstruct->ut_type == USER_PROCESS) &&
/external/selinux/restorecond/
H A Dutmpwatcher.c63 if (u.ut_type == USER_PROCESS)
/external/openssh/
H A Dloginrec.c662 ut->ut_type = USER_PROCESS;
668 ut->ut_type = DEAD_PROCESS;
755 utx->ut_type = USER_PROCESS;
758 utx->ut_type = DEAD_PROCESS;
1051 utx.ut_type = DEAD_PROCESS;
1150 * leave all fields set, but change the ut_type field to DEAD_PROCESS.
1154 * ut_type==USER_PROCESS (indicating a login.)
1159 * place and not have ut_type.
1169 if (ut->ut_type & USER_PROCESS)
1333 if (utx->ut_type
[all...]
H A Dconfigure28805 # look for field 'ut_type' in header 'utmp.h'
28807 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
28808 { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
28809 echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; }
28824 $EGREP "ut_type" >/dev/null 2>&1; then
28850 # look for field 'ut_type' in header 'utmpx.h'
28852 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
28853 { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
28854 echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; }
28869 $EGREP "ut_type" >/de
[all...]
/external/toybox/lib/
H A Dportability.h228 struct utmpx {int ut_type;}; member in struct:utmpx
/external/ppp/pppd/
H A Dsys-solaris.c2479 utmpx.ut_type = USER_PROCESS;
2481 utmpx.ut_type = DEAD_PROCESS;
H A Dsys-linux.c2202 ut.ut_type = USER_PROCESS;

Completed in 290 milliseconds