Lines Matching refs:pw
1402 struct passwd *pw;
1417 pw = sm_getpwnam(q);
1418 if (pw == NULL)
1425 m->m_uid = pw->pw_uid;
1426 m->m_gid = pw->pw_gid;
2956 register struct passwd *pw;
2959 pw = sm_getpwnam(val);
2960 if (pw == NULL)
2967 DefUid = pw->pw_uid;
2968 DefGid = pw->pw_gid;
2969 DefUser = newstr(pw->pw_name);
3294 register struct passwd *pw;
3296 pw = sm_getpwnam(val);
3297 if (pw == NULL)
3306 RunAsUid = pw->pw_uid;
3307 RunAsGid = pw->pw_gid;
3309 else if (EffGid == pw->pw_gid)
3310 RunAsGid = pw->pw_gid;
3315 (int) pw->pw_gid);
3480 register struct passwd *pw;
3483 pw = sm_getpwnam(val);
3484 if (pw == NULL)
3490 TrustedUid = pw->pw_uid;