Searched refs:chroot (Results 1 - 5 of 5) sorted by relevance
/linux-master/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 128 chroot("."); 175 ret = chroot(root_mntpoint); 177 ksft_exit_fail_msg("chroot to temp root %s: %s\n",
|
/linux-master/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 922 CASE_TEST(chroot_root); EXPECT_SYSZR(euid0, chroot("/")); break; 923 CASE_TEST(chroot_blah); EXPECT_SYSER(1, chroot("/proc/self/blah"), -1, ENOENT); break; 924 CASE_TEST(chroot_exe); EXPECT_SYSER(1, chroot(argv0), -1, ENOTDIR); break;
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 182 * int chroot(const char *path); 192 int chroot(const char *path) function
|
/linux-master/fs/ |
H A D | open.c | 600 SYSCALL_DEFINE1(chroot, const char __user *, filename)
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1797 * Common layer to check that chroot doesn't ignore it (i.e. a chroot 1856 /* Do chroot into dir_s1d2 (relative to dir_s2d2). */ 1857 ASSERT_EQ(0, chroot("../../s1d1/s1d2")) 1859 TH_LOG("Failed to chroot: %s", strerror(errno)); 1864 /* Do chroot into dir_s1d2. */ 1865 ASSERT_EQ(0, chroot(".")) 1867 TH_LOG("Failed to chroot: %s", strerror(errno));
|
Completed in 171 milliseconds