Home
last modified time | relevance | path

Searched refs:MS_REC (Results 1 – 25 of 45) sorted by relevance

12

/external/ltp/testcases/kernel/fs/fs_bind/bin/
Dsmount.c15 #ifndef MS_REC
16 #define MS_REC 0x4000 /* 16384: Recursive loopback */ macro
48 type = (MS_SHARED | MS_REC); in main()
50 type = (MS_SLAVE | MS_REC); in main()
52 type = (MS_PRIVATE | MS_REC); in main()
54 type = (MS_UNCLONE | MS_REC); in main()
/external/strace/xlat/
Dmount_flags.h90 #if defined(MS_REC) || (defined(HAVE_DECL_MS_REC) && HAVE_DECL_MS_REC)
92 static_assert((MS_REC) == (16384), "MS_REC != 16384");
95 # define MS_REC 16384
239 XLAT(MS_REC),
Dmount_flags.in13 MS_REC 16384
/external/iproute2/include/
Dnamespace.h27 #ifndef MS_REC
28 #define MS_REC 16384 macro
/external/ltp/testcases/kernel/containers/mountns/
Dmountns04.c43 && defined(MS_REC) && defined(MS_UNBINDABLE)
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()
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()
Dmountns03.c55 && defined(MS_REC) && defined(MS_SLAVE)
97 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
/external/toybox/toys/lsb/
Dmount.c108 {"shared", MS_SHARED}, {"rshared", MS_SHARED|MS_REC},
109 {"slave", MS_SLAVE}, {"rslave", MS_SLAVE|MS_REC},
110 {"private", MS_PRIVATE}, {"rprivate", MS_SLAVE|MS_REC},
111 {"unbindable", MS_UNBINDABLE}, {"runbindable", MS_UNBINDABLE|MS_REC},
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c38 #ifndef MS_REC
39 # define MS_REC 16384 macro
297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
/external/syzkaller/sys/linux/
Dfilesystem_arm.const19 MS_REC = 16384
Dfilesystem_arm64.const19 MS_REC = 16384
Dfilesystem_amd64.const19 MS_REC = 16384
Dfilesystem_ppc64le.const19 MS_REC = 16384
Dfilesystem_386.const19 MS_REC = 16384
/external/kernel-headers/original/uapi/linux/
Dmount.h23 #define MS_REC 16384 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.c109 SAFE_MOUNT("none", "/", NULL, MS_REC|MS_PRIVATE, NULL); in run()
/external/selinux/sandbox/
Dseunshare.c41 #ifndef MS_REC
42 #define MS_REC 1<<14 macro
762 if (mount("none", "/", NULL, MS_SLAVE | MS_REC , NULL) < 0) { in main()
/external/iproute2/lib/
Dnamespace.c71 if (mount("", "/", "none", MS_SLAVE | MS_REC, NULL)) { in netns_switch()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c56 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
/external/linux-kselftest/tools/testing/selftests/filesystems/
Ddevpts_pts.c296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
/external/iproute2/ip/
Dipnetns.c629 while (mount("", NETNS_RUN_DIR, "none", MS_SHARED | MS_REC, NULL)) { in netns_add()
638 if (mount(NETNS_RUN_DIR, NETNS_RUN_DIR, "none", MS_BIND | MS_REC, NULL)) { in netns_add()
/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/bcc/tests/cc/
Dtest_c_api.cc122 if (mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) < 0) { in setup_tmp_mnts()

12