Home
last modified time | relevance | path

Searched refs:chroot (Results 1 - 11 of 11) sorted by relevance

/kernel/liteos_a/testsuites/unittest/fuzz/
H A Dchroot_fuzzer.cpp42 chroot(buf); in TestChroot()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_container_chroot_002.cpp70 ret = chroot("/system/etc"); in TestFunc()
H A DIt_container_chroot_001.cpp52 ret = chroot(USERDATA_DIR_NAME); in ChildFunc()
/kernel/linux/linux-6.6/tools/testing/selftests/nolibc/
H A Dnolibc-test.c869 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 Dvfs_other.c762 int chroot(const char *path) in chroot() function
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dsys.h171 * int chroot(const char *path);
181 int chroot(const char *path) in chroot() function
/kernel/linux/linux-5.10/tools/include/nolibc/
H A Dnolibc.h1843 int chroot(const char *path) in chroot() function
/kernel/linux/linux-5.10/fs/
H A Dopen.c533 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1()
/kernel/linux/linux-6.6/fs/
H A Dopen.c593 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1()
/kernel/liteos_a/syscall/
H A Dfs_syscall.c2869 ret = chroot(path ? pathRet : NULL); in SysChroot()
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A Dfs_test.c1685 * 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 25 milliseconds