Home
last modified time | relevance | path

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

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Dmount.h55 MS_BIND = 4096, /* Bind directory at different place. */ enumerator
56 #define MS_BIND MS_BIND macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Dmount.h55 MS_BIND = 4096, /* Bind directory at different place. */ enumerator
56 #define MS_BIND MS_BIND macro
/OK3568_Linux_fs/kernel/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c231 MS_REMOUNT | MS_BIND | remount_flags, NULL) != 0) { in test_unpriv_remount()
238 MS_REMOUNT | MS_BIND | invalid_flags, NULL) == 0) { in test_unpriv_remount()
297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount()
304 MS_REMOUNT | MS_BIND | orig_mnt_flags , NULL); in test_priv_mount_unpriv_remount()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c238 ret = mount("/dev/pts/ptmx", "/dev/ptmx", NULL, MS_BIND, NULL); in verify_ptmx_bind_mount()
265 ret = mount("/dev/pts/ptmx", ptmx, NULL, MS_BIND, NULL); in verify_invalid_ptmx_bind_mount()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dmount.c207 } else if (flags & MS_BIND) { in tomoyo_mount_permission()
209 flags &= ~MS_BIND; in tomoyo_mount_permission()
/OK3568_Linux_fs/kernel/samples/seccomp/
H A Duser-trap.c120 if (!(req->data.args[3] & MS_BIND)) in handle_req()
262 if (mount("/tmp/foo", "/tmp/foo", NULL, MS_BIND, NULL) < 0) { in main()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dmount.h22 #define MS_BIND 4096 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dmount.h22 #define MS_BIND 4096 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dfs.h118 #define MS_BIND 4096 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dfs.h118 #define MS_BIND 4096 macro
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dmount.c51 if (flags & MS_BIND) in audit_mnt_flags()
437 flags &= MS_REC | MS_BIND; in aa_bind_mount()
H A Dlsm.c545 else if (flags & MS_BIND) in apparmor_sb_mount()
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcommon.c132 if (mount(target, target, "none", MS_BIND, NULL)) { in mnt_fs()
/OK3568_Linux_fs/kernel/fs/
H A Dnamespace.c3218 if ((flags & (MS_REMOUNT | MS_BIND)) == (MS_REMOUNT | MS_BIND)) in path_mount()
3222 if (flags & MS_BIND) in path_mount()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dubifs.h486 #define MS_BIND 4096 macro