Searched refs:chroot (Results 1 - 11 of 11) sorted by relevance
/kernel/liteos_a/testsuites/unittest/fuzz/ |
H A D | chroot_fuzzer.cpp | 42 chroot(buf); in TestChroot()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_container_chroot_002.cpp | 70 ret = chroot("/system/etc"); in TestFunc()
|
H A D | It_container_chroot_001.cpp | 52 ret = chroot(USERDATA_DIR_NAME); in ChildFunc()
|
/kernel/linux/linux-6.6/tools/testing/selftests/nolibc/ |
H A D | nolibc-test.c | 869 CASE_TEST(chroot_root); EXPECT_SYSZR(euid0, chroot("/")); break; in run_syscall() 870 CASE_TEST(chroot_blah); EXPECT_SYSER(1, chroot("/proc/self/blah"), -1, ENOENT); break; in run_syscall() 871 CASE_TEST(chroot_exe); EXPECT_SYSER(1, chroot(argv0), -1, ENOTDIR); break; in run_syscall()
|
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_other.c | 762 int chroot(const char *path) in chroot() function
|
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | sys.h | 171 * int chroot(const char *path); 181 int chroot(const char *path) in chroot() function
|
/kernel/linux/linux-5.10/tools/include/nolibc/ |
H A D | nolibc.h | 1843 int chroot(const char *path) in chroot() function
|
/kernel/linux/linux-5.10/fs/ |
H A D | open.c | 533 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1()
|
/kernel/linux/linux-6.6/fs/ |
H A D | open.c | 593 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1()
|
/kernel/liteos_a/syscall/ |
H A D | fs_syscall.c | 2869 ret = chroot(path ? pathRet : NULL); in SysChroot()
|
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1685 * Common layer to check that chroot doesn't ignore it (i.e. a chroot in test_relative_path() 1744 /* Do chroot into dir_s1d2 (relative to dir_s2d2). */ in test_relative_path() 1745 ASSERT_EQ(0, chroot("../../s1d1/s1d2")) in test_relative_path() 1747 TH_LOG("Failed to chroot: %s", strerror(errno)); in test_relative_path() 1752 /* Do chroot into dir_s1d2. */ in test_relative_path() 1753 ASSERT_EQ(0, chroot(".")) in test_relative_path() 1755 TH_LOG("Failed to chroot: %s", strerror(errno)); in test_relative_path()
|
Completed in 21 milliseconds