Home
last modified time | relevance | path

Searched refs:MS_PRIVATE (Results 1 – 25 of 34) sorted by relevance

12

/external/ltp/testcases/kernel/fs/fs_bind/bin/
Dsmount.c23 #ifndef MS_PRIVATE
24 #define MS_PRIVATE 1<<18 /* Private */ macro
52 type = (MS_PRIVATE | MS_REC); in main()
60 type = MS_PRIVATE; in main()
/external/ltp/testcases/kernel/containers/mountns/
Dmountns02.c50 #if defined(MS_SHARED) && defined(MS_PRIVATE) && defined(MS_REC)
84 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
90 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_PRIVATE, NULL); in test()
Dmountns04.c42 #if defined(MS_SHARED) && defined(MS_PRIVATE) \
51 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
Dmountns01.c50 #if defined(MS_SHARED) && defined(MS_PRIVATE) && defined(MS_REC)
84 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
Dmountns03.c54 #if defined(MS_SHARED) && defined(MS_PRIVATE) \
97 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
/external/ltp/include/lapi/
Dmount.h26 #ifndef MS_PRIVATE
27 #define MS_PRIVATE (1<<18) macro
/external/strace/xlat/
Dmount_flags.h118 #if defined(MS_PRIVATE) || (defined(HAVE_DECL_MS_PRIVATE) && HAVE_DECL_MS_PRIVATE)
120 static_assert((MS_PRIVATE) == ((1<<18)), "MS_PRIVATE != (1<<18)");
123 # define MS_PRIVATE (1<<18)
243 XLAT(MS_PRIVATE),
Dmount_flags.in17 MS_PRIVATE (1<<18)
/external/ltp/testcases/kernel/syscalls/mount/
Dmount06.c37 #ifndef MS_PRIVATE
38 #define MS_PRIVATE (1 << 18) macro
143 SAFE_MOUNT(cleanup, "none", path_name, "none", MS_PRIVATE, NULL); in setup()
/external/linux-kselftest/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/external/linux-kselftest/tools/testing/selftests/exec/
Drecursion-depth.c37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main()
/external/strace/
Dmount.c57 | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in SYS_FUNC()
/external/kernel-headers/original/uapi/linux/
Dmount.h32 #define MS_PRIVATE (1<<18) /* change to private */ macro
/external/bcc/tools/
Dmountsnoop_example.txt16 unshare 717 717 4026532160 mount("none", "/", "", MS_REC|MS_PRIVATE, "") = 0
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c110 SAFE_MOUNT("none", "/", NULL, MS_REC|MS_PRIVATE, NULL); in run()
/external/rust/crates/nix/src/
Dmount.rs34 MS_PRIVATE;
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c110 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/external/linux-kselftest/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c122 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_to_mountns()
/external/linux-kselftest/tools/testing/selftests/filesystems/
Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_fdinfo_test.c215 r = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in child_fdinfo_nspid_test()
Dpidfd_test.c151 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in test_pidfd_send_signal_recycled_pid_fail()
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c132 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/external/toybox/toys/lsb/
Dmount.c110 {"private", MS_PRIVATE}, {"rprivate", MS_SLAVE|MS_REC},
/external/minijail/
Dlibminijail_unittest.cc1090 minijail_remount_mode(j, MS_PRIVATE); in TEST_F()
1142 minijail_add_remount(j, "/proc", MS_PRIVATE); in TEST_F()
1186 minijail_remount_mode(j, MS_PRIVATE); in TEST_F()
/external/linux-kselftest/tools/testing/selftests/proc/
Dproc-pid-vm.c62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()

12