Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
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|\
/linux/include/uapi/linux/
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|\
/linux/tools/testing/selftests/firmware/
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()
/linux/tools/testing/selftests/mount_setattr/
A Dmount_setattr_test.c263 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 Ddo_mounts.c31 int root_mountflags = MS_RDONLY | MS_SILENT;
49 root_mountflags |= MS_RDONLY; in readonly()
57 root_mountflags &= ~MS_RDONLY; in readwrite()
A Ddo_mounts_initrd.c78 mount_block_root("/dev/root.old", root_mountflags & ~MS_RDONLY); in handle_initrd()
/linux/tools/testing/selftests/mount/
A Dunprivileged-remount-test.c133 mnt_flags |= MS_RDONLY; in read_mnt_flags()
321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
/linux/arch/sh/kernel/
A Dsetup.c296 root_mountflags &= ~MS_RDONLY; in setup_arch()
/linux/arch/sparc/kernel/
A Dsetup_32.c351 root_mountflags &= ~MS_RDONLY; in setup_arch()
A Dsetup_64.c656 root_mountflags &= ~MS_RDONLY; in setup_arch()
/linux/arch/arm/kernel/
A Datags_parse.c57 root_mountflags &= ~MS_RDONLY; in parse_tag_core()
/linux/arch/x86/kernel/
A Dsetup.c851 root_mountflags &= ~MS_RDONLY; in setup_arch()
/linux/arch/arc/kernel/
A Dsetup.c577 root_mountflags &= ~MS_RDONLY; in setup_arch()
/linux/security/apparmor/
A Dmount.c29 if (flags & MS_RDONLY) in audit_mnt_flags()
/linux/tools/testing/selftests/landlock/
A Dfs_test.c1283 ASSERT_EQ(-1, mount(NULL, dir_s3d2, NULL, MS_RDONLY, NULL)); in TEST_F_FORK()
/linux/fs/
A Dnamespace.c3285 if (flags & MS_RDONLY) in path_mount()

Completed in 29 milliseconds