Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmount_flags.h2 #if !(defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY))
3 # define MS_RDONLY 1 macro
98 XLAT(MS_RDONLY),
Dmount_flags.in1 MS_RDONLY 1
/external/toybox/toys/lsb/
Dmount.c89 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY},
204 if (!rc || (errno != EACCES && errno != EROFS) || (flags&MS_RDONLY)) in mount_filesystem()
218 flags |= MS_RDONLY; in mount_filesystem()
238 if (flags & MS_RDONLY) losetup[1] = "-fsr"; in mount_filesystem()
Dumount.c98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
/external/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c122 if (mount(device, "test_dir/mntpoint", fs_type, MS_RDONLY, NULL) < 0) { in setup()
129 if (mount(device, "mntpoint", fs_type, MS_RDONLY, NULL) < 0) { in setup()
/external/kernel-headers/original/uapi/linux/
Dfs.h107 #define MS_RDONLY 1 /* Mount read-only */ macro
144 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
Dbfs_fs.h78 …2_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RDONLY))
/external/ltp/testcases/kernel/syscalls/ioctl/
Dioctl04.c70 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns03.c61 if (mount("none", PROCDIR, "proc", MS_RDONLY, NULL) == -1) { in child_func()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c74 MS_RDONLY,
78 MS_RDONLY,
/external/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c132 mnt_flags |= MS_RDONLY; in read_mnt_flags()
320 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
/external/ltp/testcases/kernel/syscalls/access/
Daccess04.c131 .mnt_flags = MS_RDONLY,
/external/e2fsprogs/e2fsck/
Dquota.c10 #define MNT_FL (MS_MGC_VAL | MS_RDONLY)
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c112 if (mount(device, TEST_EROFS, fs_type, MS_RDONLY, NULL) < 0) { in setup()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat06.c172 .mnt_flags = MS_RDONLY,
/external/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod06.c144 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c156 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c125 if (mount(dev, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c191 sb->s_flags |= MS_RDONLY; in squashfs_fill_super()
320 *flags |= MS_RDONLY; in squashfs_remount()
/external/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c319 if (mount(dev_ram_path, "/tmp/mount/", "ext2", MS_RDONLY, NULL) in main()
351 if (mount(dev_ram_path, "/tmp/mount/", "ext2", MS_RDONLY, NULL) in main()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c125 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c132 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c155 if (mount(device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, NULL) < 0) { in test_erofs()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c147 if (mount(device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir03.c127 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()

12