Searched refs:MS_RDONLY (Results 1 – 16 of 16) sorted by relevance
/linux/tools/include/uapi/linux/ |
A D | mount.h | 13 #define MS_RDONLY 1 /* Mount read-only */ macro 52 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
|
/linux/include/uapi/linux/ |
A D | mount.h | 13 #define MS_RDONLY 1 /* Mount read-only */ macro 52 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
|
/linux/tools/testing/selftests/firmware/ |
A D | fw_namespace.c | 72 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 109 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns()
|
/linux/tools/testing/selftests/mount_setattr/ |
A D | mount_setattr_test.c | 263 mnt_flags |= MS_RDONLY; in read_mnt_flags() 429 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP() 527 expected_flags |= MS_RDONLY; in TEST_F() 559 expected_flags |= MS_RDONLY; in TEST_F() 595 expected_flags |= MS_RDONLY; in TEST_F() 617 expected_flags &= ~MS_RDONLY; in TEST_F() 749 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F() 756 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F() 944 expected_flags |= MS_RDONLY; in TEST_F() 1054 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP()
|
/linux/init/ |
A D | do_mounts.c | 31 int root_mountflags = MS_RDONLY | MS_SILENT; 49 root_mountflags |= MS_RDONLY; in readonly() 57 root_mountflags &= ~MS_RDONLY; in readwrite()
|
A D | do_mounts_initrd.c | 78 mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); in handle_initrd()
|
/linux/tools/testing/selftests/mount/ |
A D | unprivileged-remount-test.c | 133 mnt_flags |= MS_RDONLY; in read_mnt_flags() 321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
|
/linux/arch/sh/kernel/ |
A D | setup.c | 296 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux/arch/sparc/kernel/ |
A D | setup_32.c | 351 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
A D | setup_64.c | 656 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux/arch/arm/kernel/ |
A D | atags_parse.c | 57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
|
/linux/arch/x86/kernel/ |
A D | setup.c | 851 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux/arch/arc/kernel/ |
A D | setup.c | 577 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/linux/security/apparmor/ |
A D | mount.c | 29 if (flags & MS_RDONLY) in audit_mnt_flags()
|
/linux/tools/testing/selftests/landlock/ |
A D | fs_test.c | 1283 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()
|
/linux/fs/ |
A D | namespace.c | 3285 if (flags & MS_RDONLY) in path_mount()
|
Completed in 29 milliseconds