Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset.c69 const uid_t test_euid = TEST_UID; in test_cpuset_perms_object() local
108 if (chown(child_src_procs, test_euid, -1) || in test_cpuset_perms_object()
109 chown(child_dst_procs, test_euid, -1)) in test_cpuset_perms_object()
112 if (allow && chown(parent_procs, test_euid, -1)) in test_cpuset_perms_object()
171 const uid_t test_euid = TEST_UID; in test_cpuset_perms_subtree() local
197 if (chown(parent_procs, test_euid, -1) || in test_cpuset_perms_subtree()
198 chown(parent_subctl, test_euid, -1) || in test_cpuset_perms_subtree()
199 chown(child_procs, test_euid, -1)) in test_cpuset_perms_subtree()
H A Dtest_core.c688 const uid_t test_euid = TEST_UID; in test_cgcore_lesser_euid_open()
713 if (chown(cg_test_a_procs, test_euid, -1) || in test_cgcore_lesser_euid_open()
714 chown(cg_test_b_procs, test_euid, -1)) in test_cgcore_lesser_euid_open()
718 if (seteuid(test_euid)) in test_cgcore_lesser_euid_open()
771 const uid_t test_euid = 65534; /* usually nobody, any !root is fine */ in test_cgcore_lesser_ns_open()
801 if (chown(cg_test_a_procs, test_euid, -1) || in test_cgcore_lesser_ns_open()
802 chown(cg_test_b_procs, test_euid, -1)) in test_cgcore_lesser_ns_open()
686 const uid_t test_euid = TEST_UID; test_cgcore_lesser_euid_open() local
769 const uid_t test_euid = 65534; /* usually nobody, any !root is fine */ test_cgcore_lesser_ns_open() local