/openbmc/linux/include/uapi/linux/ |
H 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|\
|
/openbmc/linux/tools/include/uapi/linux/ |
H 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|\
|
/openbmc/linux/tools/testing/selftests/firmware/ |
H 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()
|
/openbmc/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 257 mnt_flags |= MS_RDONLY; in read_mnt_flags() 423 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP() 521 expected_flags |= MS_RDONLY; in TEST_F() 553 expected_flags |= MS_RDONLY; in TEST_F() 589 expected_flags |= MS_RDONLY; in TEST_F() 611 expected_flags &= ~MS_RDONLY; in TEST_F() 743 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F() 750 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F() 938 expected_flags |= MS_RDONLY; in TEST_F() 1048 MS_RELATIME | MS_NOEXEC | MS_RDONLY, 0), 0); in FIXTURE_SETUP()
|
/openbmc/linux/init/ |
H A D | do_mounts.c | 31 int root_mountflags = MS_RDONLY | MS_SILENT; 48 root_mountflags |= MS_RDONLY; in readonly() 56 root_mountflags &= ~MS_RDONLY; in readwrite()
|
H A D | do_mounts_initrd.c | 99 root_mountflags & ~MS_RDONLY); in handle_initrd()
|
/openbmc/linux/tools/testing/selftests/mount/ |
H 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()
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/busybox/ |
H A D | fail_on_no_media.patch | 39 if (vfsflags & MS_RDONLY)
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | setup_32.c | 351 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
H A D | setup_64.c | 656 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | atags_parse.c | 57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | setup.c | 297 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | super.c | 1342 c->ro_mount = !!(c->vfs_sb->s_flags & MS_RDONLY); in mount_ubifs() 2078 if (c->ro_mount && !(*flags & MS_RDONLY)) { in ubifs_remount_fs() 2090 } else if (!c->ro_mount && (*flags & MS_RDONLY)) { in ubifs_remount_fs() 2489 if (!!(flags & MS_RDONLY) != c1->ro_mount) { in ubifs_mount() 2698 flags = MS_RDONLY; in uboot_ubifs_mount()
|
H A D | io.c | 80 c->vfs_sb->s_flags |= MS_RDONLY; in ubifs_ro_mode()
|
H A D | ubifs.h | 475 #define MS_RDONLY 1 /* Mount read-only */ macro
|
/openbmc/linux/arch/arc/kernel/ |
H A D | setup.c | 532 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/openbmc/linux/security/apparmor/ |
H A D | mount.c | 29 if (flags & MS_RDONLY) in audit_mnt_flags()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | setup.c | 950 root_mountflags &= ~MS_RDONLY; in setup_arch()
|
/openbmc/linux/fs/ |
H A D | namespace.c | 3648 if (flags & MS_RDONLY) in path_mount()
|
/openbmc/qemu/linux-user/ |
H A D | strace.c | 1143 FLAG_GENERIC(MS_RDONLY),
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 1599 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()
|