Home
last modified time | relevance | path

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

/linux-4.1.27/tools/testing/selftests/mount/
Dunprivileged-remount-test.c230 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()
/linux-4.1.27/security/tomoyo/
Dmount.c203 } else if (flags & MS_BIND) { in tomoyo_mount_permission()
205 flags &= ~MS_BIND; in tomoyo_mount_permission()
/linux-4.1.27/include/uapi/linux/
Dfs.h78 #define MS_BIND 4096 macro
/linux-4.1.27/fs/
Dnamespace.c2195 if (flags & MS_BIND) in do_remount()
2709 else if (flags & MS_BIND) in do_mount()