Home
last modified time | relevance | path

Searched refs:MS_BIND (Results 1 – 25 of 43) sorted by relevance

12

/third_party/ltp/testcases/kernel/containers/mountns/
Dmountns01.c65 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns02.c65 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns03.c78 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
100 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
113 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns04.c54 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
59 if (mount(DIRA, DIRB, "none", MS_BIND, NULL) == -1) { in test()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dmount.h37 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmount.h37 #define MS_BIND 4096 macro
/third_party/musl/ndk_musl_include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/include/sys/
Dmount.h37 #define MS_BIND 4096 macro
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount05.c71 TEST(mount(mntpoint_src, mntpoint_des, fstype, MS_BIND, NULL)); in main()
Dmount06.c139 SAFE_MOUNT(cleanup, path_name, path_name, "none", MS_BIND, NULL); in setup()
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c407 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()
/third_party/rust/crates/nix/src/mount/
Dlinux.rs29 MS_BIND;
/third_party/toybox/porting/liteos_a/toys/lsb/
Dmount.c192 flags |= MS_BIND; in mount_filesystem()
/third_party/rust/crates/nix/test/
Dtest_mount.rs182 MsFlags::MS_BIND, in test_mount_bind()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c346 SAFE_MOUNT(MOUNT_PATH, MOUNT_NAME, "none", MS_BIND, NULL); in setup()
Dfanotify10.c525 SAFE_MOUNT(MOUNT_PATH, MNT2_PATH, "none", MS_BIND, NULL); in setup()
Dfanotify16.c180 SAFE_MOUNT(dname1, dname1, "none", MS_BIND, NULL); in do_test()
/third_party/toybox/toys/lsb/
Dmount.c205 flags |= MS_BIND; in mount_filesystem()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dtypes.rs656 const BIND = linux_raw_sys::general::MS_BIND;
/third_party/rust/crates/libc/libc-test/semver/
Dfuchsia.txt484 MS_BIND
/third_party/rust/crates/rustix/src/backend/libc/fs/
Dtypes.rs1134 const BIND = c::MS_BIND;
/third_party/libfuse/util/
Dfusermount.c310 res = mount(".", "/", "", MS_BIND | MS_REC, NULL); in check_is_mount_child()

12