Home
last modified time | relevance | path

Searched refs:MS_NODEV (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c198 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/
Dmount_setattr_test.c261 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/
Dunprivileged-remount-test.c137 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/
Dmount.h15 #define MS_NODEV 4 /* Disallow access to device special files */ macro
/linux-6.6.21/include/uapi/linux/
Dmount.h15 #define MS_NODEV 4 /* Disallow access to device special files */ macro
/linux-6.6.21/tools/testing/selftests/openat2/
Dresolve_test.c78 E_mount("tmpfs", "./mnt", "tmpfs", MS_NOSUID | MS_NODEV, ""); in setup_testdir()
/linux-6.6.21/security/apparmor/
Dmount.c35 if (flags & MS_NODEV) in audit_mnt_flags()
/linux-6.6.21/fs/
Dnamespace.c3630 if (flags & MS_NODEV) in path_mount()