Searched refs:pw_ent (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/allocate/ |
H A D | allocate.c | 263 struct passwd pw_ent; in main() local 574 if (getpwnam_r(uname, &pw_ent, pw_buf, sizeof (pw_buf)) == in main() 580 uid = pw_ent.pw_uid; in main() 582 if (getpwuid_r(uid, &pw_ent, pw_buf, sizeof (pw_buf)) == NULL) { in main() 587 uid = pw_ent.pw_uid; in main()
|
H A D | allocate3.c | 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() [all …]
|