Lines Matching refs:pw_ent
149 struct passwd pw_ent; in _is_authorized() local
158 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in _is_authorized()
161 return (chkauthattr(auths, pw_ent.pw_name)); in _is_authorized()
168 if (chkauthattr(dcp, pw_ent.pw_name)) in _is_authorized()
902 struct passwd pw_ent; in exec_clean() local
922 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) in exec_clean()
949 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
958 path, mode, devname, clean_arg, pw_ent.pw_name, in exec_clean()
972 dprintf("username=%s\n", pw_ent.pw_name); in exec_clean()
974 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
1599 struct passwd pw_ent; in _check_label() local
1652 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in _check_label()
1658 if ((range = getuserrange(pw_ent.pw_name)) == NULL) { in _check_label()