Searched refs:chown (Results 1 - 11 of 11) sorted by relevance
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_cpuset.c | 108 if (chown(child_src_procs, test_euid, -1) || 109 chown(child_dst_procs, test_euid, -1)) 112 if (allow && chown(parent_procs, test_euid, -1)) 197 if (chown(parent_procs, test_euid, -1) || 198 chown(parent_subctl, test_euid, -1) || 199 chown(child_procs, test_euid, -1))
|
H A D | test_core.c | 711 if (chown(cg_test_a_procs, test_euid, -1) || 712 chown(cg_test_b_procs, test_euid, -1)) 796 if (chown(cg_test_a_procs, test_euid, -1) || 797 chown(cg_test_b_procs, test_euid, -1))
|
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/ |
H A D | test_ownership.tc | 42 chown $other_owner $file 48 chown $original_owner $file
|
/linux-master/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 226 if (chown("validate_cap_suidroot", 0, -1) != 0) 227 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); 233 if (chown("validate_cap_suidnonroot", uid + 1, -1) != 0) 234 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); 240 if (chown("validate_cap_sgidroot", -1, 0) != 0) 241 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); 247 if (chown("validate_cap_sgidnonroot", -1, gid + 1) != 0) 248 ksft_exit_fail_msg("chown - %s\n", strerror(errno));
|
/linux-master/fs/hostfs/ |
H A D | hostfs_user.c | 213 } else if (chown(file, attrs->ia_uid, -1)) { 221 } else if (chown(file, -1, attrs->ia_gid)) {
|
/linux-master/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 360 os.chown(path, int(uid), int(gid))
|
/linux-master/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 1016 ASSERT_EQ(chown("/tmp/B/b", 0, 0), 0); 1023 ASSERT_EQ(chown("/tmp/B/BB/b", 0, 0), 0);
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 159 * int chown(const char *path, uid_t owner, gid_t group); 175 int chown(const char *path, uid_t owner, gid_t group) function
|
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 990 os.chown(fname, uid=int(os.getenv('SUDO_UID')),
|
/linux-master/fs/ |
H A D | open.c | 839 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group)
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 921 CASE_TEST(chown_self); EXPECT_SYSER(proc, chown("/proc/self", 0, 0), -1, EPERM); break;
|
Completed in 189 milliseconds