Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c36 #define NO_POLICY_UGID 4 macro
450 ensure_user_exists(NO_POLICY_UGID); in ensure_users_exist()
459 ensure_group_exists(NO_POLICY_UGID); in ensure_groups_exist()
490 if (setgid(NO_POLICY_UGID) < 0) in main()
491 die("Error with set gid(%d)\n", NO_POLICY_UGID); in main()
492 if (setuid(NO_POLICY_UGID) < 0) in main()
493 die("Error with set uid(%d)\n", NO_POLICY_UGID); in main()
513 test_setuid(NO_POLICY_UGID, false); in main()
518 test_setgid(NO_POLICY_UGID, false); in main()
521 gid_t disallowed_supp_groups[2] = {ROOT_UGID, NO_POLICY_UGID}; in main()