Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/allocate/
H A Dallocate.c261 struct passwd pw_ent; in main() local
572 if (getpwnam_r(uname, &pw_ent, pw_buf, sizeof (pw_buf)) == in main()
578 uid = pw_ent.pw_uid; in main()
580 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in main()
585 uid = pw_ent.pw_uid; in main()
H A Dallocate3.c149 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()
901 struct passwd pw_ent; in exec_clean() local
948 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
957 path, mode, devname, clean_arg, pw_ent.pw_name, in exec_clean()
971 dprintf("username=%s\n", pw_ent.pw_name); in exec_clean()
973 pw_ent.pw_name, devzone, zonepath, NULL); in exec_clean()
1598 struct passwd pw_ent; in _check_label() local
[all …]