Home
last modified time | relevance | path

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

/systemd-251/src/shared/
Dutmp-wtmp.c29 struct utmpx *found, lookup = { .ut_type = RUN_LVL }; in utmp_get_runlevel()
150 store.ut_type = RUN_LVL; in utmp_put_shutdown()
161 store.ut_type = BOOT_TIME; in utmp_put_reboot()
177 int utmp_put_init_process(const char *id, pid_t pid, pid_t sid, const char *line, int ut_type, cons… in utmp_put_init_process() argument
179 .ut_type = INIT_PROCESS, in utmp_put_init_process()
199 if (IN_SET(ut_type, LOGIN_PROCESS, USER_PROCESS)) { in utmp_put_init_process()
200 store.ut_type = LOGIN_PROCESS; in utmp_put_init_process()
206 if (ut_type == USER_PROCESS) { in utmp_put_init_process()
207 store.ut_type = USER_PROCESS; in utmp_put_init_process()
220 … .ut_type = INIT_PROCESS /* looks for DEAD_PROCESS, LOGIN_PROCESS, USER_PROCESS, too */ in utmp_put_dead_process()
[all …]
Dutmp-wtmp.h20 int utmp_put_init_process(const char *id, pid_t pid, pid_t sid, const char *line, int ut_type, cons…
55 …init_process(const char *id, pid_t pid, pid_t sid, const char *line, int ut_type, const char *user… in utmp_put_init_process() argument
/systemd-251/src/login/
Dlogind-core.c731 if (u->ut_type != USER_PROCESS) in manager_read_utmp()