Lines Matching defs:pw
38 BOOL allowsome_check(struct passwd *pw, int ngroups, gid_t *groups)
47 result = se_access_check(sd, pw->pw_uid, pw->pw_gid,
52 len1 = (int)strlen(pw->pw_name) - strlen("user0");
53 len2 = (int)strlen(pw->pw_name) - strlen("user2");
55 if ((strncmp("user0", &pw->pw_name[MAX(len1, 0)],
57 (strncmp("user2", &pw->pw_name[MAX(len2, 0)],
61 pw->pw_name);
65 printf("FAIL: access granted for %s\n", pw->pw_name);
70 pw->pw_name);