Searched refs:MS_NODEV (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/testing/selftests/move_mount_set_group/ |
D | move_mount_set_group_test.c | 198 if (mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 211 if (mount("testing", SET_GROUP_FROM, "tmpfs", MS_NOATIME | MS_NODEV, 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()
|
/linux-6.6.21/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 261 mnt_flags |= MS_NODEV; in read_mnt_flags() 390 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 395 ASSERT_EQ(mount("testing", "/tmp/B", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 400 ASSERT_EQ(mount("testing", "/tmp/B/BB", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 403 ASSERT_EQ(mount("testing", "/mnt", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 408 ASSERT_EQ(mount("testing", "/mnt/A", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 418 MS_NOATIME | MS_NODEV | MS_NOSUID, 0), 0); in FIXTURE_SETUP() 1011 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 1018 ASSERT_EQ(mount("testing", "/tmp/B", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 1025 ASSERT_EQ(mount("testing", "/tmp/B/BB", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() [all …]
|
/linux-6.6.21/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 137 mnt_flags |= MS_NODEV; in read_mnt_flags() 324 if (!test_unpriv_remount("devpts", "newinstance", MS_NODEV, MS_NODEV, 0)) { in main()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | mount.h | 15 #define MS_NODEV 4 /* Disallow access to device special files */ macro
|
/linux-6.6.21/include/uapi/linux/ |
D | mount.h | 15 #define MS_NODEV 4 /* Disallow access to device special files */ macro
|
/linux-6.6.21/tools/testing/selftests/openat2/ |
D | resolve_test.c | 78 E_mount("tmpfs", "./mnt", "tmpfs", MS_NOSUID | MS_NODEV, ""); in setup_testdir()
|
/linux-6.6.21/security/apparmor/ |
D | mount.c | 35 if (flags & MS_NODEV) in audit_mnt_flags()
|
/linux-6.6.21/fs/ |
D | namespace.c | 3630 if (flags & MS_NODEV) in path_mount()
|