Home
last modified time | relevance | path

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

/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.h38 #if !(defined(MS_REC) || (defined(HAVE_DECL_MS_REC) && HAVE_DECL_MS_REC))
39 # define MS_REC 16384 macro
110 XLAT(MS_REC),
Dmount_flags.in13 MS_REC 16384
/external/iproute2/include/
Dnamespace.h22 #ifndef MS_REC
23 #define MS_REC 16384 macro
/external/ltp/testcases/kernel/containers/mountns/
Dmountns04.c46 && defined(MS_REC) && defined(MS_UNBINDABLE)
54 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
Dmountns01.c53 #if defined(MS_SHARED) && defined(MS_PRIVATE) && defined(MS_REC)
87 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
Dmountns02.c53 #if defined(MS_SHARED) && defined(MS_PRIVATE) && defined(MS_REC)
87 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
Dmountns03.c58 && defined(MS_REC) && defined(MS_SLAVE)
100 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
/external/toybox/toys/lsb/
Dmount.c98 {"shared", MS_SHARED}, {"rshared", MS_SHARED|MS_REC},
99 {"slave", MS_SLAVE}, {"rslave", MS_SLAVE|MS_REC},
100 {"private", MS_PRIVATE}, {"rprivate", MS_SLAVE|MS_REC},
101 {"unbindable", MS_UNBINDABLE}, {"runbindable", MS_UNBINDABLE|MS_REC},
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c37 #ifndef MS_REC
38 # define MS_REC 16384 macro
296 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
/external/toybox/lib/
Dportability.h105 #ifndef MS_REC
106 #define MS_REC (1<<14) macro
/external/iproute2/lib/
Dnamespace.c71 if (mount("", "/", "none", MS_SLAVE | MS_REC, NULL)) { in netns_switch()
/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/kernel-headers/original/uapi/linux/
Dfs.h119 #define MS_REC 16384 macro
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c124 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL) != 0) in create_and_enter_ns()
/external/minijail/
Dlibminijail.c1216 if (mount(j->chrootdir, j->chrootdir, "bind", MS_BIND | MS_REC, "")) in enter_pivot_root()
1239 if (mount(NULL, ".", NULL, MS_REC | MS_PRIVATE, NULL)) in enter_pivot_root()
1637 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL)) in minijail_enter()
/external/iproute2/ip/
Dipnetns.c636 while (mount("", NETNS_RUN_DIR, "none", MS_SHARED | MS_REC, NULL)) { in netns_add()
/external/iproute2/tc/
Dtc_bpf.c265 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in bpf_mnt_fs()
/external/strace/
DChangeLog-CVS2373 MS_MOVE, MS_REC, MS_VERBOSE, MS_POSIXACL, MS_ACTIVE, MS_NOUSER):