/external/strace/xlat/ |
D | mount_flags.h | 6 #if defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY) 8 static_assert((MS_RDONLY) == (1), "MS_RDONLY != 1"); 11 # define MS_RDONLY 1 227 XLAT(MS_RDONLY),
|
D | mount_flags.in | 1 MS_RDONLY 1
|
/external/toybox/toys/lsb/ |
D | mount.c | 99 {"ro", MS_RDONLY}, {"rw", ~MS_RDONLY}, 240 if (!rc || (errno != EACCES && errno != EROFS) || (flags&MS_RDONLY)) in mount_filesystem() 254 flags |= MS_RDONLY; in mount_filesystem() 271 (flags&MS_RDONLY) ? "-fsr" : "-fs", dev, 0}); in mount_filesystem()
|
D | umount.c | 98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
|
/external/kernel-headers/original/uapi/linux/ |
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|\
|
/external/libfuse/lib/ |
D | mount.c | 33 #define MS_RDONLY MNT_RDONLY macro 141 {"rw", MS_RDONLY, 0}, 142 {"ro", MS_RDONLY, 1}, 516 if (!(flags & MS_RDONLY) && fuse_opt_add_opt(mnt_optsp, "rw") == -1) in get_mnt_flag_opts()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl04.c | 58 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/linux-kselftest/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 133 mnt_flags |= MS_RDONLY; in read_mnt_flags() 321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 74 MS_RDONLY, 78 MS_RDONLY,
|
D | mount02.c | 87 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY,
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown03.c | 112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/utime/ |
D | utime06.c | 125 SAFE_MOUNT(cleanup, dev, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown04.c | 122 MS_REMOUNT | MS_RDONLY, NULL); in setup()
|
/external/rust/crates/nix/src/ |
D | mount.rs | 8 MS_RDONLY;
|
/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename11.c | 152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in test_erofs()
|
/external/ltp/testcases/kernel/syscalls/mknod/ |
D | mknod07.c | 134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); 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/chown/ |
D | chown04.c | 175 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, MS_RDONLY, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat02.c | 134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
|
/external/e2fsprogs/e2fsck/ |
D | quota.c | 10 #define MNT_FL (MS_MGC_VAL | MS_RDONLY)
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat02.c | 195 MS_REMOUNT | MS_RDONLY, NULL); in setup_erofs()
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 190 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup()
|
/external/rust/crates/nix/test/ |
D | test_mount.rs | 94 MsFlags::MS_RDONLY, in test_mount_rdonly_disallows_write()
|