Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c877 utmpx_api2frec(utx, &futx); in updwtmpx()
1369 utx->ut_pid = ut->ut_pid; in getutmpx()
1370 utx->ut_type = ut->ut_type; in getutmpx()
1371 utx->ut_exit = ut->ut_exit; in getutmpx()
1373 utx->ut_tv.tv_usec = 0; in getutmpx()
1374 utx->ut_session = 0; in getutmpx()
1375 bzero(utx->pad, sizeof (utx->pad)); in getutmpx()
1376 bzero(utx->ut_host, sizeof (utx->ut_host)); in getutmpx()
1377 utx->ut_syslen = 0; in getutmpx()
1388 (void) memcpy(ut->ut_id, utx->ut_id, sizeof (utx->ut_id)); in getutmp()
[all …]
/illumos-gate/usr/src/head/
H A Dutmpx.h125 #define nonuserx(utx) ((utx).ut_exit.e_exit == NONROOT_USRX ? 1 : 0) argument
126 #define setuserx(utx) ((utx).ut_exit.e_exit = NONROOT_USRX) argument
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devperm.c397 struct utmpx *utx; in is_login_user() local
405 while ((utx = getutxent()) != NULL) { in is_login_user()
406 if (utx->ut_type == USER_PROCESS && in is_login_user()
407 strncmp(utx->ut_user, ppwd->pw_name, in is_login_user()
408 strlen(ppwd->pw_name)) == 0 && (strncmp(utx->ut_line, in is_login_user()
409 "console", strlen("console")) == 0 || strncmp(utx->ut_line, in is_login_user()