Home
last modified time | relevance | path

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

/linux/security/tomoyo/
H A Dmount.c213 if (flags & (MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission()
218 if (flags & (MS_SHARED | MS_SLAVE | MS_UNBINDABLE)) in tomoyo_mount_permission()
222 } else if (flags & MS_SLAVE) { in tomoyo_mount_permission()
226 flags &= ~MS_SLAVE; in tomoyo_mount_permission()
228 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE)) in tomoyo_mount_permission()
/linux/tools/testing/selftests/filesystems/overlayfs/
H A Dset_layers_via_fds.c55 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
172 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
239 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
384 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
458 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
535 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
604 ASSERT_EQ(sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in TEST_F()
H A Ddev_in_maps.c148 if (sys_mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL) == -1) { in main()
/linux/tools/include/uapi/linux/
H A Dmount.h33 #define MS_SLAVE (1<<19) /* change to slave */ macro
/linux/tools/testing/selftests/firmware/
H A Dfw_namespace.c101 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns()
/linux/include/uapi/linux/
H A Dmount.h33 #define MS_SLAVE (1<<19) /* change to slave */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h33 #define MS_SLAVE (1<<19) /* change to slave */ macro
/linux/tools/testing/selftests/filesystems/
H A Dfile_stressor.c64 ASSERT_EQ(mount(NULL, "/", NULL, MS_SLAVE | MS_REC, NULL), 0); in FIXTURE_SETUP()
/linux/samples/vfs/
H A Dmountinfo.c106 if (sm->mnt_propagation & MS_SLAVE) { in show_propagation()
/linux/security/apparmor/
H A Dmount.c67 if (flags & MS_SLAVE) in audit_mnt_flags()
470 flags &= (MS_REC | MS_SILENT | MS_SHARED | MS_PRIVATE | MS_SLAVE | in aa_mount_change_type()
H A Dlsm.c721 else if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | in apparmor_sb_mount()
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c387 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
H A Dmount-notify_test_ns.c414 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
/linux/fs/
H A Dpnode.c113 if (type == MS_SLAVE) { in change_mnt_propagation()
H A Dnamespace.c2852 if (type & ~(MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in flags_to_propagation_type()
4154 if (flags & (MS_SHARED | MS_PRIVATE | MS_SLAVE | MS_UNBINDABLE)) in path_mount()
4380 (MS_UNBINDABLE | MS_PRIVATE | MS_SLAVE | MS_SHARED)
5248 propagation |= MS_SLAVE; in mnt_to_propagation_flags()