Home
last modified time | relevance | path

Searched refs:oldu (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/svc/startd/
H A Dutmpx.c65 struct utmpx ut, *oldu; in utmpx_mark_init() local
97 if ((oldu = getutxid(&ut)) != NULL) { in utmpx_mark_init()
101 bcopy(oldu->ut_line, ut.ut_line, sizeof (ut.ut_line)); in utmpx_mark_init()
102 bcopy(oldu->ut_host, ut.ut_host, sizeof (ut.ut_host)); in utmpx_mark_init()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c2625 struct utmpx utmpbuf, *u, *oldu; in account() local
2669 if ((oldu = getutxid(u)) != NULL) { in account()
2674 bcopy(oldu->ut_user, u->ut_user, sizeof (u->ut_user)); in account()
2675 bcopy(oldu->ut_line, u->ut_line, sizeof (u->ut_line)); in account()
2676 bcopy(oldu->ut_host, u->ut_host, sizeof (u->ut_host)); in account()
2680 if (oldu->ut_type == USER_PROCESS && state == DEAD_PROCESS) { in account()
2681 notify_pam_dead(oldu); in account()