Home
last modified time | relevance | path

Searched refs:MS_RDONLY (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dmount.h13 #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 Dmount.h13 #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 Dfw_namespace.c72 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 Dmount_setattr_test.c257 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 Ddo_mounts.c31 int root_mountflags = MS_RDONLY | MS_SILENT;
48 root_mountflags |= MS_RDONLY; in readonly()
56 root_mountflags &= ~MS_RDONLY; in readwrite()
H A Ddo_mounts_initrd.c99 root_mountflags & ~MS_RDONLY); in handle_initrd()
/openbmc/linux/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c133 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 Dfail_on_no_media.patch39 if (vfsflags & MS_RDONLY)
/openbmc/linux/arch/sparc/kernel/
H A Dsetup_32.c351 root_mountflags &= ~MS_RDONLY; in setup_arch()
H A Dsetup_64.c656 root_mountflags &= ~MS_RDONLY; in setup_arch()
/openbmc/linux/arch/arm/kernel/
H A Datags_parse.c57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
/openbmc/linux/arch/sh/kernel/
H A Dsetup.c297 root_mountflags &= ~MS_RDONLY; in setup_arch()
/openbmc/u-boot/fs/ubifs/
H A Dsuper.c1342 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 Dio.c80 c->vfs_sb->s_flags |= MS_RDONLY; in ubifs_ro_mode()
H A Dubifs.h475 #define MS_RDONLY 1 /* Mount read-only */ macro
/openbmc/linux/arch/arc/kernel/
H A Dsetup.c532 root_mountflags &= ~MS_RDONLY; in setup_arch()
/openbmc/linux/security/apparmor/
H A Dmount.c29 if (flags & MS_RDONLY) in audit_mnt_flags()
/openbmc/linux/arch/x86/kernel/
H A Dsetup.c950 root_mountflags &= ~MS_RDONLY; in setup_arch()
/openbmc/linux/fs/
H A Dnamespace.c3648 if (flags & MS_RDONLY) in path_mount()
/openbmc/qemu/linux-user/
H A Dstrace.c1143 FLAG_GENERIC(MS_RDONLY),
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c1599 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()