Searched refs:oldu (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | utmpx.c | 65 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()
|
/titanic_50/usr/src/cmd/init/ |
H A D | init.c | 2662 struct utmpx utmpbuf, *u, *oldu; in account() local 2706 if ((oldu = getutxid(u)) != NULL) { in account() 2711 bcopy(oldu->ut_user, u->ut_user, sizeof (u->ut_user)); in account() 2712 bcopy(oldu->ut_line, u->ut_line, sizeof (u->ut_line)); in account() 2713 bcopy(oldu->ut_host, u->ut_host, sizeof (u->ut_host)); in account() 2717 if (oldu->ut_type == USER_PROCESS && state == DEAD_PROCESS) { in account() 2718 notify_pam_dead(oldu); in account()
|