| /freebsd-13.1/usr.bin/last/ |
| H A D | last.c | 311 if (bp->ut_type == BOOT_TIME || bp->ut_type == SHUTDOWN_TIME) { in doentry() 318 crmsg = bp->ut_type != SHUTDOWN_TIME ? in doentry() 335 if (bp->ut_type == OLD_TIME || bp->ut_type == NEW_TIME) { in doentry() 341 if (bp->ut_type != USER_PROCESS && bp->ut_type != DEAD_PROCESS) in doentry() 363 if (bp->ut_type == USER_PROCESS && (want(bp) || in doentry() 395 switch (bp->ut_type) { in printentry() 466 if (bp->ut_type == BOOT_TIME || in want() 467 bp->ut_type == SHUTDOWN_TIME) in want()
|
| /freebsd-13.1/crypto/heimdal/appl/login/ |
| H A D | utmpx_login.c | 46 ut->ut_type = USER_PROCESS; in utmpx_update() 85 && ( ut->ut_type == INIT_PROCESS in utmpx_login() 86 || ut->ut_type == LOGIN_PROCESS in utmpx_login() 87 || ut->ut_type == USER_PROCESS)) { in utmpx_login()
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | systime.c | 427 ut.ut_type = OLD_TIME; in update_uwtmp() 432 ut.ut_type = NEW_TIME; in update_uwtmp() 446 utx.ut_type = OLD_TIME; in update_uwtmp() 451 utx.ut_type = NEW_TIME; in update_uwtmp() 469 ut.ut_type = OLD_TIME; in update_uwtmp() 474 ut.ut_type = NEW_TIME; in update_uwtmp() 488 utx.ut_type = OLD_TIME; in update_uwtmp() 498 utx.ut_type = NEW_TIME; in update_uwtmp()
|
| /freebsd-13.1/contrib/opie/libopie/ |
| H A D | logwtmp.c | 142 ut.ut_type = USER_PROCESS; 144 ut.ut_type = DEAD_PROCESS; 175 utx.ut_type = USER_PROCESS; 177 utx.ut_type = DEAD_PROCESS;
|
| H A D | login.c | 73 u.ut_type = USER_PROCESS;
|
| /freebsd-13.1/crypto/heimdal/appl/ftp/ftpd/ |
| H A D | logwtmp.c | 128 ut.ut_type = USER_PROCESS; in ftpd_logwtmp_wtmp() 130 ut.ut_type = DEAD_PROCESS; in ftpd_logwtmp_wtmp() 161 utx.ut_type = USER_PROCESS; in ftpd_logwtmp_wtmp() 163 utx.ut_type = DEAD_PROCESS; in ftpd_logwtmp_wtmp()
|
| /freebsd-13.1/usr.bin/who/ |
| H A D | who.c | 191 if (ut->ut_type == BOOT_TIME) in row() 232 if (((aflag || !bflag) && utx->ut_type == USER_PROCESS) || in process_utmp() 233 (bflag && utx->ut_type == BOOT_TIME)) in process_utmp() 248 if (utx->ut_type != USER_PROCESS) in quick() 279 if ((utx = getutxline(&ut)) != NULL && utx->ut_type == USER_PROCESS) { in whoami()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | utxdb.c | 54 (fu)->fu_type = (ut)->ut_type; \ 69 switch (ut->ut_type) { in utx_to_futx() 119 (ut)->ut_type = (fu)->fu_type; \ 170 ut->ut_type = EMPTY; in futx_to_utx()
|
| H A D | getutxent.c | 178 switch (id->ut_type) { in getutxid() 190 if (fu.fu_type == id->ut_type) in getutxid()
|
| /freebsd-13.1/libexec/ftpd/ |
| H A D | logwtmp.c | 63 ut.ut_type = USER_PROCESS; in ftpd_logwtmp() 70 ut.ut_type = DEAD_PROCESS; in ftpd_logwtmp()
|
| /freebsd-13.1/lib/libpam/modules/pam_lastlog/ |
| H A D | pam_lastlog.c | 110 if (utx != NULL && utx->ut_type == USER_PROCESS) { in pam_sm_open_session() 137 utl.ut_type = USER_PROCESS; in pam_sm_open_session() 168 utl.ut_type = DEAD_PROCESS; in pam_sm_close_session()
|
| /freebsd-13.1/lib/libulog/ |
| H A D | ulog_login.c | 71 utx.ut_type = USER_PROCESS; in ulog_login() 84 utx.ut_type = DEAD_PROCESS; in ulog_logout()
|
| /freebsd-13.1/usr.sbin/ac/ |
| H A D | ac.c | 324 if (up->ut_type == BOOT_TIME || up->ut_type == SHUTDOWN_TIME || in log_out() 325 (up->ut_type == DEAD_PROCESS && in log_out() 446 switch(usr->ut_type) { in ac() 483 usht.ut_type = SHUTDOWN_TIME; in ac()
|
| /freebsd-13.1/usr.sbin/utx/ |
| H A D | utx.c | 56 struct utmpx utx = { .ut_type = DEAD_PROCESS }; in rm() 86 struct utmpx utx = { .ut_type = type }; in boot()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | tc.who.c | 295 if (utmp.ut_type != USER_PROCESS) 299 if (utmp.ut_type != USER_PROCESS && utmp.ut_type != DEAD_PROCESS) 307 if (utmp.ut_type == DEAD_PROCESS && utmp.ut_line[0] == '\0') 318 if (utmp.ut_type == DEAD_PROCESS) { 369 if (utmp.ut_type == DEAD_PROCESS)
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | loginrec.c | 668 ut->ut_type = USER_PROCESS; in construct_utmp() 671 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() 1054 utx.ut_type = DEAD_PROCESS; in utmpx_perform_logout() 1172 if (ut->ut_type & USER_PROCESS) in wtmp_islogin() 1336 if (utx->ut_type == USER_PROCESS) in wtmpx_islogin() 1698 ut.ut_type = LOGIN_PROCESS; in record_failed_login()
|
| /freebsd-13.1/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | sys_term.c | 1157 wtmp.ut_type = LOGIN_PROCESS; in startslave() 1306 utmpx.ut_type = LOGIN_PROCESS; in start_login() 1428 utmpx.ut_type = LOGIN_PROCESS; in rmut() 1439 utxp->ut_type = DEAD_PROCESS; in rmut() 1551 utmp.ut_type = USER_PROCESS; in rmut() 1557 utptr->ut_type = DEAD_PROCESS; in rmut() 1768 if ( (cur->ut_type != NULL) && (jid == cur->ut_jid) ) { 1813 if (utp->ut_type != USER_PROCESS || utp->ut_jid == 0)
|
| /freebsd-13.1/usr.bin/users/ |
| H A D | users.cc | 64 if (ut->ut_type == USER_PROCESS) in main()
|
| /freebsd-13.1/include/ |
| H A D | utmpx.h | 44 short ut_type; /* Type of entry. */ member
|
| /freebsd-13.1/include/rpcsvc/ |
| H A D | rnusers.x | 73 int ut_type; /* type of entry */ member
|
| /freebsd-13.1/usr.bin/finger/ |
| H A D | finger.c | 247 if (user->ut_type != USER_PROCESS) in loginlist() 390 if (user->ut_type != USER_PROCESS) in userlist()
|
| /freebsd-13.1/libexec/rpc.rusersd/ |
| H A D | rusers_proc.c | 167 if (usr->ut_type != USER_PROCESS) in do_names_2() 197 if (usr->ut_type != USER_PROCESS) in rusers_num()
|
| /freebsd-13.1/bin/date/ |
| H A D | date.c | 345 utx.ut_type = OLD_TIME; in setthetime() 353 utx.ut_type = NEW_TIME; in setthetime()
|
| /freebsd-13.1/usr.bin/write/ |
| H A D | write.c | 208 if (u->ut_type == USER_PROCESS && in utmp_chk() 240 if (u->ut_type == USER_PROCESS && in search_utmp()
|
| /freebsd-13.1/usr.bin/getent/ |
| H A D | getent.c | 632 if (ut->ut_type == EMPTY) in utmpxprint() 639 switch (ut->ut_type) { in utmpxprint() 675 printf("unknown record type %hu\n", ut->ut_type); in utmpxprint()
|