Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dmount_flags.h6 #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),
Dmount_flags.in1 MS_RDONLY 1
/external/toybox/toys/lsb/
Dmount.c99 {"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()
Dumount.c98 if (!mount("", dir, "", MS_REMOUNT|MS_RDONLY, "")) {
/external/kernel-headers/original/uapi/linux/
Dmount.h13 #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/
Dmount.c33 #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/
Dioctl04.c58 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/linux-kselftest/tools/testing/selftests/mount/
Dunprivileged-remount-test.c133 mnt_flags |= MS_RDONLY; in read_mnt_flags()
321 if (!test_unpriv_remount_simple(MS_RDONLY)) { in main()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c74 MS_RDONLY,
78 MS_RDONLY,
Dmount02.c87 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY,
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c125 SAFE_MOUNT(cleanup, dev, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c122 MS_REMOUNT | MS_RDONLY, NULL); in setup()
/external/rust/crates/nix/src/
Dmount.rs8 MS_RDONLY;
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in test_erofs()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod07.c134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); 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/chown/
Dchown04.c175 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, MS_RDONLY, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/mknodat/
Dmknodat02.c134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()
/external/e2fsprogs/e2fsck/
Dquota.c10 #define MNT_FL (MS_MGC_VAL | MS_RDONLY)
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c195 MS_REMOUNT | MS_RDONLY, NULL); in setup_erofs()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c190 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup()
/external/rust/crates/nix/test/
Dtest_mount.rs94 MsFlags::MS_RDONLY, in test_mount_rdonly_disallows_write()

12