/systemd-251/src/machine/ |
D | image-dbus.c | 154 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),
|
D | machine-dbus.c | 843 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/ |
D | discover-image.c | 129 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 …]
|
D | discover-image.h | 39 bool read_only; member 73 int image_clone(Image *i, const char *new_name, bool read_only);
|
D | mount-util.h | 110 …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_…
|
D | mount-util.c | 781 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/ |
D | nspawn-mount.h | 37 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);
|
D | nspawn-mount.c | 214 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()
|
D | nspawn-patch-uid.c | 313 goto read_only; in recurse_fd() 377 goto read_only; in recurse_fd() 384 read_only: in recurse_fd()
|
D | nspawn-cgroup.c | 249 bool read_only) { in mount_legacy_cgroup_hierarchy() argument 282 if (read_only) { in mount_legacy_cgroup_hierarchy()
|
/systemd-251/src/import/ |
D | importd.c | 65 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/ |
D | sysupdate-instance.h | 32 int read_only; member 46 .read_only = -1, \
|
D | sysupdate-transfer.c | 73 .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()
|
D | sysupdate-pattern.c | 358 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()
|
D | sysupdate-partition.c | 192 … .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()
|
D | sysupdate-partition.h | 33 bool read_only:1; member
|
D | sysupdate-transfer.h | 36 int read_only; member
|
D | sysupdate-resource.c | 230 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/ |
D | namespace.c | 79 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 …]
|
D | dbus-service.c | 102 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),
|
D | namespace.h | 87 bool read_only; member
|
/systemd-251/src/portable/ |
D | portabled-image-bus.c | 782 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),
|
D | portabled-bus.c | 183 image->read_only, in method_list_images() 520 "b", read_only),
|
/systemd-251/src/test/ |
D | test-ns.c | 90 …unt) { .source = (char*) "/usr/bin", .destination = (char*) "/etc/systemd", .read_only = true }, 1, in main()
|
D | test-btrfs.c | 28 log_info("read-only (search): %s", yes_no(info.read_only)); in main()
|