Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c266 static void test_setuid(uid_t child_uid, bool expect_success) in test_setuid() function
510 test_setuid(ROOT_UGID, false); in main()
511 test_setuid(ALLOWED_CHILD1_UGID, true); in main()
512 test_setuid(ALLOWED_CHILD2_UGID, true); in main()
513 test_setuid(NO_POLICY_UGID, false); in main()
531 test_setuid(2, false); in main()
532 test_setuid(3, false); in main()
533 test_setuid(4, false); in main()