Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 25 of 41) sorted by relevance

12

/systemd-251/src/machine/
Dimage-dbus.c154 int r, read_only; in bus_image_method_clone() local
164 r = sd_bus_message_read(message, "sb", &new_name, &read_only); in bus_image_method_clone()
201 r = image_clone(image, new_name, read_only); in bus_image_method_clone()
230 int read_only, r; in bus_image_method_mark_read_only() local
234 r = sd_bus_message_read(message, "b", &read_only); in bus_image_method_mark_read_only()
241 "read_only", one_zero(read_only), in bus_image_method_mark_read_only()
259 r = image_read_only(image, read_only); in bus_image_method_mark_read_only()
511 SD_BUS_PROPERTY("ReadOnly", "b", bus_property_get_bool, offsetof(Image, read_only), 0),
Dmachine-dbus.c843 int read_only, make_file_or_directory; in bus_machine_method_bind_mount() local
855 r = sd_bus_message_read(message, "ssbb", &src, &dest, &read_only, &make_file_or_directory); in bus_machine_method_bind_mount()
899 src, dest, read_only, make_file_or_directory); in bus_machine_method_bind_mount()
1317 … SD_BUS_ARGS("s", source, "s", destination, "b", read_only, "b", mkdir),
/systemd-251/src/shared/
Ddiscover-image.c129 bool read_only, in image_new() argument
149 .read_only = read_only, in image_new()
215 bool read_only; in image_make() local
242 read_only = in image_make()
284 info.read_only || read_only, in image_make()
320 read_only || (file_attr & FS_IMMUTABLE_FL), in image_make()
351 !(st->st_mode & 0222) || read_only, in image_make()
392 if (!read_only) { in image_make()
398 read_only = true; in image_make()
411 !(st->st_mode & 0222) || read_only, in image_make()
[all …]
Ddiscover-image.h39 bool read_only; member
73 int image_clone(Image *i, const char *new_name, bool read_only);
Dmount-util.h110 …ath, const char *incoming_path, const char *src, const char *dest, bool read_only, bool make_file_…
111 …ath, const char *incoming_path, const char *src, const char *dest, bool read_only, bool make_file_…
Dmount-util.c781 bool read_only, in mount_in_namespace() argument
887 if (read_only) { in mount_in_namespace()
1014 bool read_only, in bind_mount_in_namespace() argument
1017 …return mount_in_namespace(target, propagate_path, incoming_path, src, dest, read_only, make_file_o… in bind_mount_in_namespace()
1026 bool read_only, in mount_image_in_namespace() argument
1030 …return mount_in_namespace(target, propagate_path, incoming_path, src, dest, read_only, make_file_o… in mount_image_in_namespace()
/systemd-251/src/nspawn/
Dnspawn-mount.h37 bool read_only; member
53 int bind_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only);
55 int overlay_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only);
Dnspawn-mount.c214 int bind_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only) { in bind_mount_parse() argument
253 m->read_only = read_only; in bind_mount_parse()
295 int overlay_mount_parse(CustomMount **l, size_t *n, const char *s, bool read_only) { in overlay_mount_parse() argument
348 m->read_only = read_only; in overlay_mount_parse()
772 if (m->read_only) { in mount_bind()
854 if (m->read_only) in mount_overlay()
866 …return mount_nofollow_verbose(LOG_ERR, "overlay", where, "overlay", m->read_only ? MS_RDONLY : 0, … in mount_overlay()
Dnspawn-patch-uid.c313 goto read_only; in recurse_fd()
377 goto read_only; in recurse_fd()
384 read_only: in recurse_fd()
Dnspawn-cgroup.c249 bool read_only) { in mount_legacy_cgroup_hierarchy() argument
282 if (read_only) { in mount_legacy_cgroup_hierarchy()
/systemd-251/src/import/
Dimportd.c65 bool read_only; member
465 if (t->read_only) in transfer_start()
688 int fd, force, read_only, r; in method_import_tar_or_raw() local
712 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only); in method_import_tar_or_raw()
739 t->read_only = read_only; in method_import_tar_or_raw()
762 int fd, force, read_only, r; in method_import_fs() local
784 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only); in method_import_fs()
806 t->read_only = read_only; in method_import_fs()
1219 SD_BUS_PARAM(read_only),
1230 SD_BUS_PARAM(read_only),
[all …]
/systemd-251/src/sysupdate/
Dsysupdate-instance.h32 int read_only; member
46 .read_only = -1, \
Dsysupdate-transfer.c73 .read_only = -1, in transfer_new()
443 …t", "ReadOnly", config_parse_tristate, 0, &t->read_only }, in transfer_read_definition()
779 .read_only = t->read_only >= 0 ? t->read_only : i->metadata.read_only, in compile_pattern_fields()
1097 t->install_read_only = f.read_only; in transfer_acquire_instance()
1119 if (f.read_only >= 0) { in transfer_acquire_instance()
1120 t->partition_info.read_only = f.read_only; in transfer_acquire_instance()
Dsysupdate-pattern.c358 assert(found.read_only < 0); in pattern_match()
359 found.read_only = r; in pattern_match()
562 if (fields->read_only < 0) in pattern_format()
565 if (!strextend(&j, one_zero(fields->read_only))) in pattern_format()
Dsysupdate-partition.c192 … .read_only = FLAGS_SET(flags, GPT_FLAG_READ_ONLY) && gpt_partition_type_knows_read_only(ptid), in read_partition_info()
337 SET_FLAG(flags, GPT_FLAG_READ_ONLY, info->read_only); in patch_partition()
359 SET_FLAG(new_flags, GPT_FLAG_READ_ONLY, info->read_only); in patch_partition()
Dsysupdate-partition.h33 bool read_only:1; member
Dsysupdate-transfer.h36 int read_only; member
Dsysupdate-resource.c230 if (instance->metadata.read_only < 0) in resource_load_from_blockdev()
231 instance->metadata.read_only = instance->partition_info.read_only; in resource_load_from_blockdev()
/systemd-251/src/core/
Dnamespace.c79 bool read_only:1; /* Shall this mount point be read-only? */ member
161 …{ "/home", TMPFS, true, .read_only = true, .options_const = "mode=0755" TMPFS…
162 …{ "/run/user", TMPFS, true, .read_only = true, .options_const = "mode=0755" TMPFS…
163 …{ "/root", TMPFS, true, .read_only = true, .options_const = "mode=0700" TMPFS…
280 return p->read_only || IN_SET(p->mode, READONLY, INACCESSIBLE, PRIVATE_TMP_READONLY); in mount_entry_read_only()
363 .read_only = true, in append_empty_dir_mounts()
381 .read_only = b->read_only, in append_bind_mounts()
535 .read_only = true, in append_extensions()
590 .read_only = ro, in append_tmpfs_mounts()
718 previous->read_only = previous->read_only || mount_entry_read_only(f); in drop_duplicates()
[all …]
Ddbus-service.c102 int read_only, make_file_or_directory; in bus_service_method_mount() local
118 r = sd_bus_message_read(message, "ssbb", &src, &dest, &read_only, &make_file_or_directory); in bus_service_method_mount()
173 src, dest, read_only, make_file_or_directory, options); in bus_service_method_mount()
178 src, dest, read_only, make_file_or_directory); in bus_service_method_mount()
251 … SD_BUS_ARGS("s", source, "s", destination, "b", read_only, "b", mkdir),
257 … SD_BUS_ARGS("s", source, "s", destination, "b", read_only, "b", mkdir, "a(ss)", options),
Dnamespace.h87 bool read_only; member
/systemd-251/src/portable/
Dportabled-image-bus.c782 int r, read_only; in bus_image_common_mark_read_only() local
792 r = sd_bus_message_read(message, "b", &read_only); in bus_image_common_mark_read_only()
809 r = image_read_only(image, read_only); in bus_image_common_mark_read_only()
873 SD_BUS_PROPERTY("ReadOnly", "b", bus_property_get_bool, offsetof(Image, read_only), 0),
966 SD_BUS_ARGS("b", read_only),
Dportabled-bus.c183 image->read_only, in method_list_images()
520 "b", read_only),
/systemd-251/src/test/
Dtest-ns.c90 …unt) { .source = (char*) "/usr/bin", .destination = (char*) "/etc/systemd", .read_only = true }, 1, in main()
Dtest-btrfs.c28 log_info("read-only (search): %s", yes_no(info.read_only)); in main()

12