/external/ltp/testcases/kernel/containers/mountns/ |
D | mountns01.c | 68 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func() 90 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test() 100 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
|
D | mountns02.c | 68 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func() 90 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test() 100 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
|
D | mountns03.c | 81 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func() 103 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test() 116 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
|
D | mountns04.c | 57 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test() 62 if (mount(DIRA, DIRB, "none", MS_BIND, NULL) == -1) { in test()
|
/external/strace/xlat/ |
D | mount_flags.h | 32 #if !(defined(MS_BIND) || (defined(HAVE_DECL_MS_BIND) && HAVE_DECL_MS_BIND)) 33 # define MS_BIND 4096 macro 108 XLAT(MS_BIND),
|
D | mount_flags.in | 11 MS_BIND 4096
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 230 MS_REMOUNT | MS_BIND | remount_flags, NULL) != 0) { in test_unpriv_remount() 237 MS_REMOUNT | MS_BIND | invalid_flags, NULL) == 0) { in test_unpriv_remount() 296 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount() 303 MS_REMOUNT | MS_BIND | orig_mnt_flags , NULL); in test_priv_mount_unpriv_remount()
|
/external/strace/ |
D | mount.c | 55 else if (flags & (MS_BIND | MS_MOVE | MS_SHARED in SYS_FUNC()
|
D | ChangeLog-CVS | 1724 [LINUX] (sys_mount): If neither MS_BIND nor MS_MOVE bits are 2372 * system.c [LINUX] (MS_MANDLOCK, MS_NOATIME, MS_NODIRATIME, MS_BIND, 2376 [LINUX] (sys_mount): If any of (MS_BIND|MS_MOVE|MS_REMOUNT) bits are
|
/external/strace/tests-m32/ |
D | mount.c | 78 rc = mount(source, target, fstype, MS_BIND, data); in main()
|
/external/strace/tests-mx32/ |
D | mount.c | 78 rc = mount(source, target, fstype, MS_BIND, data); in main()
|
/external/strace/tests/ |
D | mount.c | 78 rc = mount(source, target, fstype, MS_BIND, data); in main()
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount05.c | 71 TEST(mount(mntpoint_src, mntpoint_des, fstype, MS_BIND, NULL)); in main()
|
D | mount06.c | 141 if (mount(path_name, path_name, "none", MS_BIND, NULL) == -1) in setup()
|
/external/iproute2/lib/ |
D | namespace.c | 37 if (mount(netns_name, etc_name, "none", MS_BIND, NULL) < 0) { in bind_etc()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 407 if (mount("/tmp/mount/", "/tmp/mount_bind/", NULL, MS_BIND, in main() 438 if (mount("/tmp/mount/", "/tmp/mount_bind/", NULL, MS_BIND, in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | fs.h | 117 #define MS_BIND 4096 macro
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify06.c | 256 SAFE_MOUNT(cleanup, MOUNT_NAME, MOUNT_NAME, NULL, MS_BIND, NULL); in setup()
|
/external/selinux/sandbox/ |
D | seunshare.c | 269 if (mount(src, dst, NULL, MS_BIND | flags, NULL) < 0) { in seunshare_mount() 282 if (mount("/tmp", "/var/tmp", NULL, MS_BIND | flags, NULL) < 0) { in seunshare_mount()
|
/external/iproute2/ip/ |
D | ipnetns.c | 645 if (mount(NETNS_RUN_DIR, NETNS_RUN_DIR, "none", MS_BIND, NULL)) { in netns_add() 668 if (mount("/proc/self/ns/net", netns_path, "none", MS_BIND, NULL) < 0) { in netns_add()
|
/external/toybox/toys/lsb/ |
D | mount.c | 169 flags |= MS_BIND; in mount_filesystem()
|
/external/minijail/ |
D | libminijail.c | 709 unsigned long flags = MS_BIND; in minijail_bind() 1155 if ((m->flags & MS_BIND) && (m->flags & MS_RDONLY)) { in mount_one() 1216 if (mount(j->chrootdir, j->chrootdir, "bind", MS_BIND | MS_REC, "")) in enter_pivot_root()
|
/external/iproute2/tc/ |
D | tc_bpf.c | 272 if (mount(target, target, "none", MS_BIND, NULL)) { in bpf_mnt_fs()
|