/systemd-251/src/test/ |
D | test-install-root.c | 23 UnitFileChange *changes = NULL; in TEST() local 60 …assert_se(unit_file_mask(LOOKUP_SCOPE_SYSTEM, 0, root, STRV_MAKE("a.service"), &changes, &n_change… in TEST() 62 assert_se(changes[0].type_or_errno == UNIT_FILE_SYMLINK); in TEST() 63 assert_se(streq(changes[0].source, "/dev/null")); in TEST() 65 assert_se(streq(changes[0].path, p)); in TEST() 67 unit_file_changes_free(changes, n_changes); in TEST() 68 changes = NULL; n_changes = 0; in TEST() 76 …assert_se(unit_file_enable(LOOKUP_SCOPE_SYSTEM, 0, root, STRV_MAKE("a.service"), &changes, &n_chan… in TEST() 77 unit_file_changes_free(changes, n_changes); in TEST() 78 changes = NULL; n_changes = 0; in TEST() [all …]
|
D | test-install.c | 28 UnitFileChange *changes = NULL; in main() local 55 r = unit_file_enable(LOOKUP_SCOPE_SYSTEM, 0, NULL, (char**) files, &changes, &n_changes); in main() 60 r = unit_file_enable(LOOKUP_SCOPE_SYSTEM, 0, NULL, (char**) files, &changes, &n_changes); in main() 63 dump_changes(changes, n_changes); in main() 64 unit_file_changes_free(changes, n_changes); in main() 71 changes = NULL; in main() 74 r = unit_file_disable(LOOKUP_SCOPE_SYSTEM, 0, NULL, (char**) files, &changes, &n_changes); in main() 77 dump_changes(changes, n_changes); in main() 78 unit_file_changes_free(changes, n_changes); in main() 85 changes = NULL; in main() [all …]
|
/systemd-251/src/shared/ |
D | install.c | 263 UnitFileChange **changes, in unit_file_changes_add() argument 272 assert(!changes == !n_changes); in unit_file_changes_add() 279 if (!changes) in unit_file_changes_add() 282 c = reallocarray(*changes, *n_changes + 1, sizeof(UnitFileChange)); in unit_file_changes_add() 285 *changes = c; in unit_file_changes_add() 312 void unit_file_changes_free(UnitFileChange *changes, size_t n_changes) { in unit_file_changes_free() argument 313 assert(changes || n_changes == 0); in unit_file_changes_free() 316 free(changes[i].path); in unit_file_changes_free() 317 free(changes[i].source); in unit_file_changes_free() 320 free(changes); in unit_file_changes_free() [all …]
|
D | install.h | 60 static inline bool unit_file_changes_have_modification(const UnitFileChange* changes, size_t n_chan… in unit_file_changes_have_modification() argument 62 if (IN_SET(changes[i].type_or_errno, UNIT_FILE_SYMLINK, UNIT_FILE_UNLINK)) in unit_file_changes_have_modification() 103 UnitFileChange **changes, 110 UnitFileChange **changes, 117 UnitFileChange **changes, 125 UnitFileChange **changes, 132 UnitFileChange **changes, 139 UnitFileChange **changes, 146 UnitFileChange **changes, 153 UnitFileChange **changes, [all …]
|
D | bus-unit-util.h | 28 …d_dump_unit_file_changes(sd_bus_message *m, bool quiet, UnitFileChange **changes, size_t *n_change…
|
/systemd-251/src/systemctl/ |
D | systemctl-enable.c | 66 UnitFileChange *changes = NULL; in verb_enable() local 109 … r = unit_file_enable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 112 … r = unit_file_disable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 114 … r = unit_file_reenable(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 117 r = unit_file_link(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 119 … r = unit_file_preset(arg_scope, flags, arg_root, names, arg_preset_mode, &changes, &n_changes); in verb_enable() 121 r = unit_file_mask(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 123 … r = unit_file_unmask(arg_scope, flags, arg_root, names, &changes, &n_changes); in verb_enable() 125 r = unit_file_revert(arg_scope, arg_root, names, &changes, &n_changes); in verb_enable() 129 unit_file_dump_changes(r, verb, changes, n_changes, arg_quiet); in verb_enable() [all …]
|
D | systemctl-preset-all.c | 11 UnitFileChange *changes = NULL; in verb_preset_all() local 16 …reset_all(arg_scope, unit_file_flags_from_args(), arg_root, arg_preset_mode, &changes, &n_changes); in verb_preset_all() 17 unit_file_dump_changes(r, "preset", changes, n_changes, arg_quiet); in verb_preset_all() 45 … r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes); in verb_preset_all() 60 unit_file_changes_free(changes, n_changes); in verb_preset_all()
|
D | systemctl-add-dependency.c | 14 UnitFileChange *changes = NULL; in verb_add_dependency() local 40 …ndency(arg_scope, unit_file_flags_from_args(), arg_root, names, target, dep, &changes, &n_changes); in verb_add_dependency() 41 unit_file_dump_changes(r, "add dependency on", changes, n_changes, arg_quiet); in verb_add_dependency() 72 … r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes); in verb_add_dependency() 87 unit_file_changes_free(changes, n_changes); in verb_add_dependency()
|
D | systemctl-set-default.c | 96 UnitFileChange *changes = NULL; in verb_set_default() local 110 … r = unit_file_set_default(arg_scope, UNIT_FILE_FORCE, arg_root, unit, &changes, &n_changes); in verb_set_default() 111 unit_file_dump_changes(r, "set default", changes, n_changes, arg_quiet); in verb_set_default() 130 … r = bus_deserialize_and_dump_unit_file_changes(reply, arg_quiet, &changes, &n_changes); in verb_set_default() 157 unit_file_changes_free(changes, n_changes); in verb_set_default()
|
D | systemctl-is-enabled.c | 11 UnitFileChange *changes = NULL; in show_installation_targets_client_side() local 21 r = unit_file_disable(LOOKUP_SCOPE_SYSTEM, flags, NULL, p, &changes, &n_changes); in show_installation_targets_client_side() 26 if (changes[i].type_or_errno == UNIT_FILE_UNLINK) in show_installation_targets_client_side() 27 printf(" %s\n", changes[i].path); in show_installation_targets_client_side()
|
/systemd-251/src/portable/ |
D | portabled-bus.c | 277 PortableChange *changes = NULL; in method_detach_image() local 341 &changes, in method_detach_image() 347 r = reply_portable_changes(message, changes, n_changes); in method_detach_image() 350 portable_changes_free(changes, n_changes); in method_detach_image() 466 SD_BUS_RESULT("a(sss)", changes), 476 SD_BUS_RESULT("a(sss)", changes), 482 SD_BUS_RESULT("a(sss)", changes), 489 SD_BUS_RESULT("a(sss)", changes), 545 static int reply_portable_compose_message(sd_bus_message *reply, const PortableChange *changes, siz… in reply_portable_compose_message() argument 550 assert(changes || n_changes == 0); in reply_portable_compose_message() [all …]
|
D | portable.c | 820 PortableChange **changes, in portable_changes_add() argument 830 assert(!changes == !n_changes); in portable_changes_add() 837 if (!changes) in portable_changes_add() 840 c = reallocarray(*changes, *n_changes + 1, sizeof(PortableChange)); in portable_changes_add() 843 *changes = c; in portable_changes_add() 869 PortableChange **changes, in portable_changes_add_with_prefix() argument 877 assert(!changes == !n_changes); in portable_changes_add_with_prefix() 879 if (!changes) in portable_changes_add_with_prefix() 889 return portable_changes_add(changes, n_changes, type_or_errno, path, source); in portable_changes_add_with_prefix() 892 void portable_changes_free(PortableChange *changes, size_t n_changes) { in portable_changes_free() argument [all …]
|
D | portabled-image-bus.c | 308 PortableChange *changes = NULL; in bus_image_common_attach() local 387 &changes, in bus_image_common_attach() 393 r = reply_portable_changes(message, changes, n_changes); in bus_image_common_attach() 396 portable_changes_free(changes, n_changes); in bus_image_common_attach() 410 PortableChange *changes = NULL; in bus_image_method_detach() local 469 &changes, in bus_image_method_detach() 475 r = reply_portable_changes(message, changes, n_changes); in bus_image_method_detach() 478 portable_changes_free(changes, n_changes); in bus_image_method_detach() 575 PortableChange *changes = NULL; in normalize_portable_changes() local 585 changes = new0(PortableChange, n_changes_attached + n_changes_detached); in normalize_portable_changes() [all …]
|
D | portable.h | 70 …*profile, char **extension_images, PortableFlags flags, PortableChange **changes, size_t *n_change… 71 …ath, char **extension_image_paths, PortableFlags flags, PortableChange **changes, size_t *n_change… 77 void portable_changes_free(PortableChange *changes, size_t n_changes);
|
D | portabled-bus.h | 10 int reply_portable_changes(sd_bus_message *m, const PortableChange *changes, size_t n_changes);
|
/systemd-251/src/core/ |
D | dbus-manager.c | 2158 UnitFileChange *changes, in install_error() argument 2165 switch (changes[i].type_or_errno) { in install_error() 2171 if (changes[i].source) in install_error() 2174 changes[i].path, changes[i].source); in install_error() 2178 changes[i].path); in install_error() 2183 "Unit file %s is masked.", changes[i].path); in install_error() 2188 … "Unit %s is transient or generated.", changes[i].path); in install_error() 2194 changes[i].path); in install_error() 2200 changes[i].path); in install_error() 2205 "Unit file %s does not exist.", changes[i].path); in install_error() [all …]
|
/systemd-251/ |
D | .clang-format | 6 # The easiest way to apply the formatting to your changes ONLY, 12 # 3. Verify + correct + (un)stage changes. 16 # 1. Commit your changes. 17 # 2. Run `git clang-format HEAD~` - Refer the commit *before* your changes here. 18 # 3. Verify + correct changes, `git difftool -d` can help here.
|
/systemd-251/docs/ |
D | NETWORK_ONLINE.md | 105 networks, network configuration changes, hardware is added and removed, virtual 111 connectivity is available continuously and never changes is hence not 113 configuration changes. It should react to changing network configuration and 116 to local network configuration changes in daemon code is not particularly 202 1. Watch rtnetlink and react to network configuration changes as they 207 network changes, as all you listen on is catch-all and private addresses. 212 towards network configuration changes. This is provided as `FreeBind=`
|
D | TRANSLATORS.md | 70 touched. Remember to undo the changes to the other `*.po` files (for instance, 71 using `git checkout -- po/` after you commit the changes you do want to keep.)
|
D | DISTRO_PORTING.md | 12 You need to make the follow changes to adapt systemd to your 89 systemd upstream. If you have to make changes to systemd's source code
|
D | USERDB_AND_DESKTOPS.md | 17 usual, meaning that for basic support no changes in the upper layers of the 19 made. However, for better support a number of changes to desktop environments 80 `systemd-homed` exposes APIs to add, remove and make changes to local users via 143 without changes. However, I think in the long run `accounts-daemon` should
|
D | GVARIANT-SERIALIZATION.md | 11 certain changes to adapt for GVariant. dbus1 has the following 86 Note that the header size changed, due to these changes. However,
|
/systemd-251/test/fuzz/fuzz-udev-rules/ |
D | 60-block.rules | 10 # watch metadata changes, caused by tools closing the device node which was opened for writing
|
/systemd-251/rules.d/ |
D | 60-block.rules | 10 # watch metadata changes, caused by tools closing the device node which was opened for writing
|
/systemd-251/hwdb.d/ |
D | 70-joystick.hwdb | 26 # If your changes are generally applicable, preferably send them as a pull
|