Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/saf/
H A Dsac.c301 struct utmpx *uxp; /* working pointer */ in readutmpx() local
304 while (uxp = getutxent()) { in readutmpx()
306 if (uxp->ut_type != LOGIN_PROCESS) in readutmpx()
308 if (uxp->ut_user[sizeof (uxp->ut_user) - 1] == '\0') { in readutmpx()
314 sp = findpm(uxp->ut_user); in readutmpx()
317 (void) memcpy(sp->sc_utid, uxp->ut_id, IDLEN); in readutmpx()
318 sp->sc_pid = uxp->ut_pid; in readutmpx()
331 if (strncmp(uxp->ut_user, sp->sc_tag, in readutmpx()
332 sizeof (uxp->ut_user)) == 0) { in readutmpx()
348 (void) memcpy(savesp->sc_utid, uxp->ut_id, in readutmpx()
[all …]