/external/strace/xlat/ |
D | mount_flags.h | 2 #if !(defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY)) 3 # define MS_RDONLY 1 macro 98 XLAT(MS_RDONLY),
|
D | mount_flags.in | 1 MS_RDONLY 1
|
/external/toybox/toys/lsb/ |
D | mount.c | 89 {"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()
|
D | umount.c | 98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat02.c | 122 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/ |
D | fs.h | 107 #define MS_RDONLY 1 /* Mount read-only */ macro 144 #define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION|\
|
D | bfs_fs.h | 78 …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/ |
D | ioctl04.c | 70 TEST(mount(tst_device->dev, "mntpoint", tst_device->fs_type, MS_RDONLY, NULL)); in verify_ioctl()
|
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns03.c | 61 if (mount("none", PROCDIR, "proc", MS_RDONLY, NULL) == -1) { in child_func()
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 74 MS_RDONLY, 78 MS_RDONLY,
|
/external/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 132 mnt_flags |= MS_RDONLY; in read_mnt_flags() 320 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access04.c | 131 .mnt_flags = MS_RDONLY,
|
/external/e2fsprogs/e2fsck/ |
D | quota.c | 10 #define MNT_FL (MS_MGC_VAL | MS_RDONLY)
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 112 if (mount(device, TEST_EROFS, fs_type, MS_RDONLY, NULL) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat06.c | 172 .mnt_flags = MS_RDONLY,
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
D | fchmod06.c | 144 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 156 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime06.c | 125 if (mount(dev, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | super.c | 191 sb->s_flags |= MS_RDONLY; in squashfs_fill_super() 320 *flags |= MS_RDONLY; in squashfs_remount()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 319 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/ |
D | fchown04.c | 125 MS_REMOUNT | MS_RDONLY, NULL) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod07.c | 132 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename11.c | 155 if (mount(device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, NULL) < 0) { in test_erofs()
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir02.c | 147 if (mount(device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 127 if (mount(device, MNT_POINT, fs_type, MS_RDONLY, NULL) < 0) { in setup()
|