H A D | move_mount_set_group_test.c | 9 #include <sys/mount.h> 118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 198 if (mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 202 if (mount(NULL, "/tmp", NULL, MS_PRIVATE, 0)) in move_mount_set_group_supported() 211 if (mount("testing", SET_GROUP_FROM, "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 215 if (mount(SET_GROUP_FROM, SET_GROUP_TO, NULL, MS_BIND, NULL)) in move_mount_set_group_supported() 218 if (mount(NULL, SET_GROUP_FROM, NULL, MS_SHARED, 0)) in move_mount_set_group_supported() 246 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 251 ASSERT_EQ(mount("testing", SET_GROUP_A, "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 319 ret = mount(NUL in get_nestedns_mount_cb() [all...] |