error 124 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 139 src/analyze/analyze.c &error, error 143 src/analyze/analyze.c log_error("Failed to parse reply: %s", bus_error_message(&error, -r)); error 151 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 165 src/analyze/analyze.c &error, error 168 src/analyze/analyze.c log_error("Failed to get unit property %s: %s", property, bus_error_message(&error, -r)); error 196 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 208 src/analyze/analyze.c &error, &reply, error 211 src/analyze/analyze.c log_error("Failed to list units: %s", bus_error_message(&error, -r)); error 854 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 869 src/analyze/analyze.c &error, error 873 src/analyze/analyze.c log_error("Failed to get ID: %s", bus_error_message(&error, -r)); error 1073 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1083 src/analyze/analyze.c &error, error 1087 src/analyze/analyze.c log_error("Failed to list units: %s", bus_error_message(&error, -r)); error 1123 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1140 src/analyze/analyze.c &error, error 1144 src/analyze/analyze.c log_error("Failed issue method call: %s", bus_error_message(&error, -r)); error 1157 src/analyze/analyze.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1174 src/analyze/analyze.c &error, error 1178 src/analyze/analyze.c log_error("Failed to issue method call: %s", bus_error_message(&error, -r)); error 35 src/bus-proxyd/bus-policy.c free(i->error); error 462 src/bus-proxyd/bus-policy.c if (i->error) { error 467 src/bus-proxyd/bus-policy.c i->error = name; error 906 src/bus-proxyd/bus-policy.c if (i->error) error 908 src/bus-proxyd/bus-policy.c prefix, i->error); error 57 src/bus-proxyd/bus-policy.h char *error; error 387 src/bus-proxyd/bus-proxyd.c static int synthetic_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *p) { error 399 src/bus-proxyd/bus-proxyd.c sd_bus_error_set_errno(&berror, error); error 447 src/bus-proxyd/bus-proxyd.c static int get_creds_by_name(sd_bus *bus, const char *name, uint64_t mask, sd_bus_creds **_creds, sd_bus_error *error) { error 459 src/bus-proxyd/bus-proxyd.c return sd_bus_error_setf(error, SD_BUS_ERROR_NAME_HAS_NO_OWNER, "Name %s is currently not owned by anyone.", name); error 472 src/bus-proxyd/bus-proxyd.c static int get_creds_by_message(sd_bus *bus, sd_bus_message *m, uint64_t mask, sd_bus_creds **_creds, sd_bus_error *error) { error 484 src/bus-proxyd/bus-proxyd.c return get_creds_by_name(bus, name, mask, _creds, error); error 525 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 527 src/bus-proxyd/bus-proxyd.c r = sd_bus_error_setf(&error, SD_BUS_ERROR_INVALID_ARGS, "Expected no parameters"); error 529 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 647 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 649 src/bus-proxyd/bus-proxyd.c r = get_creds_by_message(a, m, SD_BUS_CREDS_SELINUX_CONTEXT, &creds, &error); error 651 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 657 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 659 src/bus-proxyd/bus-proxyd.c r = get_creds_by_message(a, m, SD_BUS_CREDS_PID, &creds, &error); error 661 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 667 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 669 src/bus-proxyd/bus-proxyd.c r = get_creds_by_message(a, m, SD_BUS_CREDS_UID, &creds, &error); error 671 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 688 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 697 src/bus-proxyd/bus-proxyd.c r = get_creds_by_name(a, name, SD_BUS_CREDS_UNIQUE_NAME, &creds, &error); error 699 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 739 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 752 src/bus-proxyd/bus-proxyd.c sd_bus_error_setf(&error, SD_BUS_ERROR_NAME_HAS_NO_OWNER, "Could not get owners of name '%s': no such name.", arg0); error 753 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 843 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 845 src/bus-proxyd/bus-proxyd.c r = sd_bus_error_setf(&error, SD_BUS_ERROR_NOT_SUPPORTED, "%s() is not supported", sd_bus_message_get_member(m)); error 847 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 981 src/bus-proxyd/bus-proxyd.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 983 src/bus-proxyd/bus-proxyd.c r = sd_bus_error_setf(&error, SD_BUS_ERROR_UNKNOWN_METHOD, "Unknown method '%s'.", m->member); error 985 src/bus-proxyd/bus-proxyd.c return synthetic_reply_method_errno(m, r, &error); error 204 src/cgls/cgls.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 225 src/cgls/cgls.c &error, error 230 src/cgls/cgls.c log_error("Failed to query ControlGroup: %s", bus_error_message(&error, -r)); error 545 src/core/automount.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 574 src/core/automount.c JOB_REPLACE, true, &error, NULL); error 578 src/core/automount.c UNIT(a)->id, bus_error_message(&error, r)); error 541 src/core/busname.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 574 src/core/busname.c r = manager_add_job(UNIT(n)->manager, JOB_START, UNIT_DEREF(n->service), JOB_REPLACE, true, &error, NULL); error 583 src/core/busname.c log_warning_unit(UNIT(n)->id, "%s failed to queue service startup job: %s", UNIT(n)->id, bus_error_message(&error, r)); error 871 src/core/busname.c static int busname_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 872 src/core/busname.c return unit_kill_common(u, who, signo, -1, BUSNAME(u)->control_pid, error); error 37 src/core/dbus-cgroup.c sd_bus_error *error) { error 67 src/core/dbus-cgroup.c sd_bus_error *error) { error 101 src/core/dbus-cgroup.c sd_bus_error *error) { error 143 src/core/dbus-cgroup.c sd_bus_error *error) { error 179 src/core/dbus-cgroup.c sd_bus_error *error) { error 216 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "CPUShares value out of range"); error 240 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "StartupCPUShares value out of range"); error 259 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "CPUQuotaPerSecUSec value out of range"); error 297 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "BlockIOWeight value out of range"); error 321 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "StartupBlockIOWeight value out of range"); error 433 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "BlockIODeviceWeight out of range"); error 563 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "DeviceAllow= requires device node"); error 569 src/core/dbus-cgroup.c return sd_bus_error_set_errnof(error, EINVAL, "DeviceAllow= requires combination of rwm flags"); error 58 src/core/dbus-execute.c sd_bus_error *error) { error 90 src/core/dbus-execute.c sd_bus_error *error) { error 129 src/core/dbus-execute.c sd_bus_error *error) { error 159 src/core/dbus-execute.c sd_bus_error *error) { error 188 src/core/dbus-execute.c sd_bus_error *error) { error 216 src/core/dbus-execute.c sd_bus_error *error) { error 243 src/core/dbus-execute.c sd_bus_error *error) { error 273 src/core/dbus-execute.c sd_bus_error *error) { error 294 src/core/dbus-execute.c sd_bus_error *error) { error 318 src/core/dbus-execute.c sd_bus_error *error) { error 338 src/core/dbus-execute.c sd_bus_error *error) { error 366 src/core/dbus-execute.c sd_bus_error *error) { error 419 src/core/dbus-execute.c sd_bus_error *error) { error 464 src/core/dbus-execute.c sd_bus_error *error) { error 482 src/core/dbus-execute.c sd_bus_error *error) { error 500 src/core/dbus-execute.c sd_bus_error *error) { error 518 src/core/dbus-execute.c sd_bus_error *error) { error 536 src/core/dbus-execute.c sd_bus_error *error) { error 747 src/core/dbus-execute.c sd_bus_error *error) { error 820 src/core/dbus-execute.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Nice value out of range"); error 838 src/core/dbus-execute.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment block."); error 32 src/core/dbus-job.c static int verify_sys_admin_or_owner_sync(sd_bus_message *message, Job *j, sd_bus_error *error) { error 42 src/core/dbus-job.c return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Access denied to perform action"); error 55 src/core/dbus-job.c sd_bus_error *error) { error 71 src/core/dbus-job.c int bus_job_method_cancel(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 79 src/core/dbus-job.c r = verify_sys_admin_or_owner_sync(message, j, error); error 83 src/core/dbus-job.c r = mac_selinux_unit_access_check(j->unit, message, "stop", error); error 43 src/core/dbus-kill.c sd_bus_error *error) { error 80 src/core/dbus-kill.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Signal %i out of range", sig); error 51 src/core/dbus-manager.c sd_bus_error *error) { error 66 src/core/dbus-manager.c sd_bus_error *error) { error 81 src/core/dbus-manager.c sd_bus_error *error) { error 100 src/core/dbus-manager.c sd_bus_error *error) { error 115 src/core/dbus-manager.c sd_bus_error *error) { error 151 src/core/dbus-manager.c sd_bus_error *error) { error 166 src/core/dbus-manager.c sd_bus_error *error) { error 188 src/core/dbus-manager.c sd_bus_error *error) { error 210 src/core/dbus-manager.c sd_bus_error *error) { error 232 src/core/dbus-manager.c sd_bus_error *error) { error 250 src/core/dbus-manager.c sd_bus_error *error) { error 268 src/core/dbus-manager.c sd_bus_error *error) { error 286 src/core/dbus-manager.c sd_bus_error *error) { error 310 src/core/dbus-manager.c sd_bus_error *error) { error 328 src/core/dbus-manager.c sd_bus_error *error) { error 345 src/core/dbus-manager.c static int method_get_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 364 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s not loaded.", name); error 366 src/core/dbus-manager.c r = mac_selinux_unit_access_check(u, message, "status", error); error 377 src/core/dbus-manager.c static int method_get_unit_by_pid(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 410 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_UNIT_FOR_PID, "PID %u does not belong to any loaded unit.", pid); error 412 src/core/dbus-manager.c r = mac_selinux_unit_access_check(u, message, "status", error); error 423 src/core/dbus-manager.c static int method_load_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 440 src/core/dbus-manager.c r = manager_load_unit(m, name, NULL, error, &u); error 444 src/core/dbus-manager.c r = mac_selinux_unit_access_check(u, message, "status", error); error 455 src/core/dbus-manager.c static int method_start_unit_generic(sd_bus *bus, sd_bus_message *message, Manager *m, JobType job_type, bool reload_if_possible, sd_bus_error *error) { error 464 src/core/dbus-manager.c r = bus_verify_manage_unit_async(m, message, error); error 474 src/core/dbus-manager.c r = manager_load_unit(m, name, NULL, error, &u); error 478 src/core/dbus-manager.c return bus_unit_method_start_generic(bus, message, u, job_type, reload_if_possible, error); error 481 src/core/dbus-manager.c static int method_start_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 482 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_START, false, error); error 485 src/core/dbus-manager.c static int method_stop_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 486 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_STOP, false, error); error 489 src/core/dbus-manager.c static int method_reload_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 490 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_RELOAD, false, error); error 493 src/core/dbus-manager.c static int method_restart_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 494 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_RESTART, false, error); error 497 src/core/dbus-manager.c static int method_try_restart_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 498 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_TRY_RESTART, false, error); error 501 src/core/dbus-manager.c static int method_reload_or_restart_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 502 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_RESTART, true, error); error 505 src/core/dbus-manager.c static int method_reload_or_try_restart_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 506 src/core/dbus-manager.c return method_start_unit_generic(bus, message, userdata, JOB_TRY_RESTART, true, error); error 509 src/core/dbus-manager.c static int method_start_unit_replace(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 519 src/core/dbus-manager.c r = bus_verify_manage_unit_async(m, message, error); error 531 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "No job queued for unit %s", old_name); error 533 src/core/dbus-manager.c return method_start_unit_generic(bus, message, m, JOB_START, false, error); error 536 src/core/dbus-manager.c static int method_kill_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 547 src/core/dbus-manager.c r = bus_verify_manage_unit_async_for_kill(m, message, error); error 559 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s is not loaded.", name); error 561 src/core/dbus-manager.c return bus_unit_method_kill(bus, message, u, error); error 564 src/core/dbus-manager.c static int method_reset_failed_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 574 src/core/dbus-manager.c r = bus_verify_manage_unit_async(m, message, error); error 586 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s is not loaded.", name); error 588 src/core/dbus-manager.c return bus_unit_method_reset_failed(bus, message, u, error); error 591 src/core/dbus-manager.c static int method_set_unit_properties(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 601 src/core/dbus-manager.c r = bus_verify_manage_unit_async(m, message, error); error 613 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s is not loaded.", name); error 615 src/core/dbus-manager.c return bus_unit_method_set_properties(bus, message, u, error); error 618 src/core/dbus-manager.c static int method_start_transient_unit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 630 src/core/dbus-manager.c r = bus_verify_manage_unit_async(m, message, error); error 642 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid unit type."); error 645 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unit type %s does not support transient units.", unit_type_to_string(t)); error 649 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Job mode %s is invalid.", smode); error 651 src/core/dbus-manager.c r = mac_selinux_access_check(message, "start", error); error 655 src/core/dbus-manager.c r = manager_load_unit(m, name, NULL, error, &u); error 660 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_UNIT_EXISTS, "Unit %s already exists.", name); error 669 src/core/dbus-manager.c r = bus_unit_set_properties(u, message, UNIT_RUNTIME, false, error); error 681 src/core/dbus-manager.c return bus_unit_queue_job(bus, message, u, JOB_START, mode, false, error); error 684 src/core/dbus-manager.c static int method_get_job(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 703 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "Job %u does not exist.", (unsigned) id); error 705 src/core/dbus-manager.c r = mac_selinux_unit_access_check(j->unit, message, "status", error); error 716 src/core/dbus-manager.c static int method_cancel_job(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 732 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_JOB, "Job %u does not exist.", (unsigned) id); error 734 src/core/dbus-manager.c return bus_job_method_cancel(bus, message, j, error); error 737 src/core/dbus-manager.c static int method_clear_jobs(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 745 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reboot", error); error 754 src/core/dbus-manager.c static int method_reset_failed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 762 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 771 src/core/dbus-manager.c static int list_units_filtered(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error, char **states) { error 785 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 845 src/core/dbus-manager.c static int method_list_units(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 846 src/core/dbus-manager.c return list_units_filtered(bus, message, userdata, error, NULL); error 849 src/core/dbus-manager.c static int method_list_units_filtered(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 857 src/core/dbus-manager.c return list_units_filtered(bus, message, userdata, error, states); error 860 src/core/dbus-manager.c static int method_list_jobs(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 873 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 915 src/core/dbus-manager.c static int method_subscribe(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 925 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 944 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_ALREADY_SUBSCRIBED, "Client is already subscribed."); error 950 src/core/dbus-manager.c static int method_unsubscribe(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 960 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 969 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NOT_SUBSCRIBED, "Client is not subscribed."); error 975 src/core/dbus-manager.c static int method_dump(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 988 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 1007 src/core/dbus-manager.c static int method_create_snapshot(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1019 src/core/dbus-manager.c r = mac_selinux_access_check(message, "start", error); error 1030 src/core/dbus-manager.c r = snapshot_create(m, name, cleanup, error, &s); error 1041 src/core/dbus-manager.c static int method_remove_snapshot(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1051 src/core/dbus-manager.c r = mac_selinux_access_check(message, "stop", error); error 1061 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s does not exist.", name); error 1064 src/core/dbus-manager.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s is not a snapshot", name); error 1066 src/core/dbus-manager.c return bus_snapshot_method_remove(bus, message, u, error); error 1069 src/core/dbus-manager.c static int method_reload(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1077 src/core/dbus-manager.c r = bus_verify_reload_daemon_async(m, message, error); error 1083 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 1103 src/core/dbus-manager.c static int method_reexecute(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1111 src/core/dbus-manager.c r = bus_verify_reload_daemon_async(m, message, error); error 1117 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 1128 src/core/dbus-manager.c static int method_exit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1136 src/core/dbus-manager.c r = mac_selinux_access_check(message, "halt", error); error 1141 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Exit is only supported for user service managers."); error 1148 src/core/dbus-manager.c static int method_reboot(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1156 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reboot", error); error 1161 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Reboot is only supported for system managers."); error 1169 src/core/dbus-manager.c static int method_poweroff(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1177 src/core/dbus-manager.c r = mac_selinux_access_check(message, "halt", error); error 1182 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Powering off is only supported for system managers."); error 1189 src/core/dbus-manager.c static int method_halt(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1197 src/core/dbus-manager.c r = mac_selinux_access_check(message, "halt", error); error 1202 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Halt is only supported for system managers."); error 1209 src/core/dbus-manager.c static int method_kexec(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1217 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reboot", error); error 1222 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "KExec is only supported for system managers."); error 1229 src/core/dbus-manager.c static int method_switch_root(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1239 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reboot", error); error 1244 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_NOT_SUPPORTED, "Root switching is only supported by system manager."); error 1251 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid switch root path %s", root); error 1256 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Specified switch root path %s does not seem to be an OS tree. os-release file is missing.", root); error 1261 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid init path %s", init); error 1268 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Specified init binary %s does not exist.", p); error 1294 src/core/dbus-manager.c static int method_set_environment(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1303 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 1311 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments"); error 1320 src/core/dbus-manager.c static int method_unset_environment(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1329 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 1338 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment variable names or assignments"); error 1347 src/core/dbus-manager.c static int method_unset_and_set_environment(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1356 src/core/dbus-manager.c r = mac_selinux_access_check(message, "reload", error); error 1369 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment variable names or assignments"); error 1371 src/core/dbus-manager.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments"); error 1380 src/core/dbus-manager.c static int method_list_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1394 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 1434 src/core/dbus-manager.c static int method_get_unit_file_state(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1447 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 1464 src/core/dbus-manager.c static int method_get_default_target(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1476 src/core/dbus-manager.c r = mac_selinux_access_check(message, "status", error); error 1562 src/core/dbus-manager.c sd_bus_error *error) { error 1574 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1588 src/core/dbus-manager.c r = mac_selinux_unit_access_check_strv(l, message, m, verb, error); error 1601 src/core/dbus-manager.c static int method_enable_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1602 src/core/dbus-manager.c return method_enable_unit_files_generic(bus, message, userdata, "enable", unit_file_enable, true, error); error 1605 src/core/dbus-manager.c static int method_reenable_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1606 src/core/dbus-manager.c return method_enable_unit_files_generic(bus, message, userdata, "enable", unit_file_reenable, true, error); error 1609 src/core/dbus-manager.c static int method_link_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1610 src/core/dbus-manager.c return method_enable_unit_files_generic(bus, message, userdata, "enable", unit_file_link, false, error); error 1617 src/core/dbus-manager.c static int method_preset_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1618 src/core/dbus-manager.c return method_enable_unit_files_generic(bus, message, userdata, "enable", unit_file_preset_without_mode, true, error); error 1621 src/core/dbus-manager.c static int method_mask_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1622 src/core/dbus-manager.c return method_enable_unit_files_generic(bus, message, userdata, "disable", unit_file_mask, false, error); error 1625 src/core/dbus-manager.c static int method_preset_unit_files_with_mode(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1640 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1662 src/core/dbus-manager.c r = mac_selinux_unit_access_check_strv(l, message, m, "enable", error); error 1681 src/core/dbus-manager.c sd_bus_error *error) { error 1693 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1699 src/core/dbus-manager.c r = mac_selinux_access_check(message, verb, error); error 1720 src/core/dbus-manager.c static int method_disable_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1721 src/core/dbus-manager.c return method_disable_unit_files_generic(bus, message, userdata, "disable", unit_file_disable, error); error 1724 src/core/dbus-manager.c static int method_unmask_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1725 src/core/dbus-manager.c return method_disable_unit_files_generic(bus, message, userdata, "enable", unit_file_unmask, error); error 1728 src/core/dbus-manager.c static int method_set_default_target(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1740 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1746 src/core/dbus-manager.c r = mac_selinux_access_check(message, "enable", error); error 1763 src/core/dbus-manager.c static int method_preset_all_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1776 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1782 src/core/dbus-manager.c r = mac_selinux_access_check(message, "enable", error); error 1807 src/core/dbus-manager.c static int method_add_dependency_unit_files(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1822 src/core/dbus-manager.c r = bus_verify_manage_unit_files_async(m, message, error); error 1840 src/core/dbus-manager.c r = mac_selinux_unit_access_check_strv(l, message, m, "enable", error); error 38 src/core/dbus-mount.c sd_bus_error *error) { error 64 src/core/dbus-mount.c sd_bus_error *error) { error 90 src/core/dbus-mount.c sd_bus_error *error) { error 133 src/core/dbus-mount.c sd_bus_error *error) { error 174 src/core/dbus-mount.c sd_bus_error *error) { error 183 src/core/dbus-mount.c r = bus_cgroup_set_property(u, &m->cgroup_context, name, message, mode, error); error 190 src/core/dbus-mount.c r = bus_mount_set_transient_property(m, name, message, mode, error); error 194 src/core/dbus-mount.c r = bus_exec_context_set_transient_property(u, &m->exec_context, name, message, mode, error); error 198 src/core/dbus-mount.c r = bus_kill_context_set_transient_property(u, &m->kill_context, name, message, mode, error); error 37 src/core/dbus-path.c sd_bus_error *error) { error 67 src/core/dbus-path.c sd_bus_error *error) { error 33 src/core/dbus-scope.c static int bus_scope_abandon(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 41 src/core/dbus-scope.c r = bus_verify_manage_unit_async(UNIT(s)->manager, message, error); error 48 src/core/dbus-scope.c if (sd_bus_error_is_set(error)) error 52 src/core/dbus-scope.c return sd_bus_error_setf(error, BUS_ERROR_SCOPE_NOT_RUNNING, "Scope %s is not running, cannot abandon.", UNIT(s)->id); error 74 src/core/dbus-scope.c sd_bus_error *error) { error 124 src/core/dbus-scope.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Controller '%s' is not a valid bus name.", controller); error 166 src/core/dbus-scope.c sd_bus_error *error) { error 175 src/core/dbus-scope.c r = bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); error 182 src/core/dbus-scope.c r = bus_scope_set_transient_property(s, name, message, mode, error); error 186 src/core/dbus-scope.c r = bus_kill_context_set_transient_property(u, &s->kill_context, name, message, mode, error); error 80 src/core/dbus-service.c sd_bus_error *error) { error 112 src/core/dbus-service.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid service type %s", t); error 138 src/core/dbus-service.c return sd_bus_error_set_errnof(error, EINVAL, "Path %s is not absolute.", path); error 229 src/core/dbus-service.c sd_bus_error *error) { error 238 src/core/dbus-service.c r = bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); error 245 src/core/dbus-service.c r = bus_service_set_transient_property(s, name, message, mode, error); error 249 src/core/dbus-service.c r = bus_exec_context_set_transient_property(u, &s->exec_context, name, message, mode, error); error 253 src/core/dbus-service.c r = bus_kill_context_set_transient_property(u, &s->kill_context, name, message, mode, error); error 38 src/core/dbus-slice.c sd_bus_error *error) { error 45 src/core/dbus-slice.c return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); error 28 src/core/dbus-snapshot.c int bus_snapshot_method_remove(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 36 src/core/dbus-snapshot.c r = mac_selinux_unit_access_check(UNIT(s), message, "stop", error); error 41 src/core/dbus-socket.c sd_bus_error *error) { error 143 src/core/dbus-socket.c sd_bus_error *error) { error 151 src/core/dbus-socket.c return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); error 39 src/core/dbus-swap.c sd_bus_error *error) { error 65 src/core/dbus-swap.c sd_bus_error *error) { error 100 src/core/dbus-swap.c sd_bus_error *error) { error 108 src/core/dbus-swap.c return bus_cgroup_set_property(u, &s->cgroup_context, name, message, mode, error); error 37 src/core/dbus-timer.c sd_bus_error *error) { error 86 src/core/dbus-timer.c sd_bus_error *error) { error 125 src/core/dbus-timer.c sd_bus_error *error) { error 145 src/core/dbus-timer.c sd_bus_error *error) { error 45 src/core/dbus-unit.c sd_bus_error *error) { error 76 src/core/dbus-unit.c sd_bus_error *error) { error 95 src/core/dbus-unit.c sd_bus_error *error) { error 125 src/core/dbus-unit.c sd_bus_error *error) { error 143 src/core/dbus-unit.c sd_bus_error *error) { error 161 src/core/dbus-unit.c sd_bus_error *error) { error 179 src/core/dbus-unit.c sd_bus_error *error) { error 197 src/core/dbus-unit.c sd_bus_error *error) { error 215 src/core/dbus-unit.c sd_bus_error *error) { error 236 src/core/dbus-unit.c sd_bus_error *error) { error 254 src/core/dbus-unit.c sd_bus_error *error) { error 272 src/core/dbus-unit.c sd_bus_error *error) { error 298 src/core/dbus-unit.c sd_bus_error *error) { error 316 src/core/dbus-unit.c sd_bus_error *error) { error 350 src/core/dbus-unit.c sd_bus_error *error) { error 365 src/core/dbus-unit.c int bus_unit_method_start_generic(sd_bus *bus, sd_bus_message *message, Unit *u, JobType job_type, bool reload_if_possible, sd_bus_error *error) { error 381 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Job mode %s invalid", smode); error 383 src/core/dbus-unit.c return bus_unit_queue_job(bus, message, u, job_type, mode, reload_if_possible, error); error 386 src/core/dbus-unit.c static int method_start(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 387 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_START, false, error); error 390 src/core/dbus-unit.c static int method_stop(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 391 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_STOP, false, error); error 394 src/core/dbus-unit.c static int method_reload(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 395 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_RELOAD, false, error); error 398 src/core/dbus-unit.c static int method_restart(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 399 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_RESTART, false, error); error 402 src/core/dbus-unit.c static int method_try_restart(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 403 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_TRY_RESTART, false, error); error 406 src/core/dbus-unit.c static int method_reload_or_restart(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 407 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_RESTART, true, error); error 410 src/core/dbus-unit.c static int method_reload_or_try_restart(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 411 src/core/dbus-unit.c return bus_unit_method_start_generic(bus, message, userdata, JOB_TRY_RESTART, true, error); error 414 src/core/dbus-unit.c int bus_unit_method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 425 src/core/dbus-unit.c r = bus_verify_manage_unit_async_for_kill(u->manager, message, error); error 440 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid who argument %s", swho); error 444 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Signal number out of range."); error 446 src/core/dbus-unit.c r = mac_selinux_unit_access_check(u, message, "stop", error); error 450 src/core/dbus-unit.c r = unit_kill(u, who, signo, error); error 457 src/core/dbus-unit.c int bus_unit_method_reset_failed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 465 src/core/dbus-unit.c r = bus_verify_manage_unit_async(u->manager, message, error); error 471 src/core/dbus-unit.c r = mac_selinux_unit_access_check(u, message, "reload", error); error 480 src/core/dbus-unit.c int bus_unit_method_set_properties(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 488 src/core/dbus-unit.c r = bus_verify_manage_unit_async(u->manager, message, error); error 498 src/core/dbus-unit.c r = mac_selinux_unit_access_check(u, message, "start", error); error 502 src/core/dbus-unit.c r = bus_unit_set_properties(u, message, runtime ? UNIT_RUNTIME : UNIT_PERSISTENT, true, error); error 595 src/core/dbus-unit.c sd_bus_error *error) { error 741 src/core/dbus-unit.c sd_bus_error *error) { error 763 src/core/dbus-unit.c type == JOB_STOP ? "stop" : "reload", error); error 770 src/core/dbus-unit.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_UNIT, "Unit %s not loaded.", u->id); error 775 src/core/dbus-unit.c return sd_bus_error_setf(error, BUS_ERROR_ONLY_BY_DEPENDENCY, "Operation refused, unit %s may be requested by dependency only.", u->id); error 777 src/core/dbus-unit.c r = manager_add_job(u->manager, type, u, mode, true, error, &j); error 805 src/core/dbus-unit.c sd_bus_error *error) { error 838 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid slice name %s", s); error 848 src/core/dbus-unit.c r = manager_load_unit(u->manager, s, NULL, error, &slice); error 890 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid unit name %s", other); error 925 src/core/dbus-unit.c sd_bus_error *error) { error 967 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_PROPERTY_READ_ONLY, "Objects of this type do not support setting properties."); error 973 src/core/dbus-unit.c r = UNIT_VTABLE(u)->bus_set_property(u, name, message, for_real ? mode : UNIT_CHECK, error); error 975 src/core/dbus-unit.c r = bus_unit_set_transient_property(u, name, message, for_real ? mode : UNIT_CHECK, error); error 979 src/core/dbus-unit.c return sd_bus_error_setf(error, SD_BUS_ERROR_PROPERTY_READ_ONLY, "Cannot set property %s, or unknown property.", name); error 75 src/core/dbus.c static int signal_agent_released(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 104 src/core/dbus.c static int signal_disconnected(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 123 src/core/dbus.c static int signal_name_owner_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 147 src/core/dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 166 src/core/dbus.c r = sd_bus_error_setf(&error, BUS_ERROR_SHUTTING_DOWN, "Refusing activation, D-Bus is shutting down."); error 170 src/core/dbus.c r = manager_load_unit(m, name, NULL, &error, &u); error 175 src/core/dbus.c r = sd_bus_error_setf(&error, BUS_ERROR_ONLY_BY_DEPENDENCY, "Operation refused, %s may be requested by dependency only.", u->id); error 179 src/core/dbus.c r = manager_add_job(m, JOB_START, u, JOB_REPLACE, true, &error, NULL); error 187 src/core/dbus.c if (!sd_bus_error_is_set(&error)) error 188 src/core/dbus.c sd_bus_error_set_errno(&error, r); error 190 src/core/dbus.c log_debug("D-Bus activation failed for %s: %s", name, bus_error_message(&error, r)); error 198 src/core/dbus.c r = sd_bus_message_append(reply, "sss", name, error.name, error.message); error 214 src/core/dbus.c static int mac_selinux_filter(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 242 src/core/dbus.c r = mac_selinux_access_check(message, verb, error); error 273 src/core/dbus.c r = mac_selinux_unit_access_check(u, message, verb, error); error 281 src/core/dbus.c static int bus_job_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 300 src/core/dbus.c static int find_unit(Manager *m, sd_bus *bus, const char *path, Unit **unit, sd_bus_error *error) { error 327 src/core/dbus.c r = manager_load_unit_from_dbus_path(m, path, error, &u); error 339 src/core/dbus.c static int bus_unit_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 348 src/core/dbus.c return find_unit(m, bus, path, (Unit**) found, error); error 351 src/core/dbus.c static int bus_unit_interface_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 362 src/core/dbus.c r = find_unit(m, bus, path, &u, error); error 373 src/core/dbus.c static int bus_unit_cgroup_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 384 src/core/dbus.c r = find_unit(m, bus, path, &u, error); error 398 src/core/dbus.c static int bus_cgroup_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 410 src/core/dbus.c r = find_unit(m, bus, path, &u, error); error 425 src/core/dbus.c static int bus_exec_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 437 src/core/dbus.c r = find_unit(m, bus, path, &u, error); error 452 src/core/dbus.c static int bus_kill_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 464 src/core/dbus.c r = find_unit(m, bus, path, &u, error); error 479 src/core/dbus.c static int bus_job_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 506 src/core/dbus.c static int bus_unit_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 1220 src/core/dbus.c int bus_verify_manage_unit_async(Manager *m, sd_bus_message *call, sd_bus_error *error) { error 1221 src/core/dbus.c return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.manage-units", false, &m->polkit_registry, error); error 1225 src/core/dbus.c int bus_verify_manage_unit_async_for_kill(Manager *m, sd_bus_message *call, sd_bus_error *error) { error 1226 src/core/dbus.c return bus_verify_polkit_async(call, CAP_KILL, "org.freedesktop.systemd1.manage-units", false, &m->polkit_registry, error); error 1229 src/core/dbus.c int bus_verify_manage_unit_files_async(Manager *m, sd_bus_message *call, sd_bus_error *error) { error 1230 src/core/dbus.c return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.manage-unit-files", false, &m->polkit_registry, error); error 1233 src/core/dbus.c int bus_verify_reload_daemon_async(Manager *m, sd_bus_message *call, sd_bus_error *error) { error 1234 src/core/dbus.c return bus_verify_polkit_async(call, CAP_SYS_ADMIN, "org.freedesktop.systemd1.reload-daemon", false, &m->polkit_registry, error); error 1274 src/core/execute.c int *error) { error 1288 src/core/execute.c assert(error); error 1305 src/core/execute.c *error = EXIT_SIGNAL_MASK; error 1334 src/core/execute.c *error = EXIT_FDS; error 1340 src/core/execute.c *error = EXIT_SETSID; error 1356 src/core/execute.c *error = EXIT_CONFIRM; error 1360 src/core/execute.c *error = 0; error 1369 src/core/execute.c *error = EXIT_USER; error 1381 src/core/execute.c *error = EXIT_STDIN; error 1387 src/core/execute.c *error = EXIT_STDOUT; error 1393 src/core/execute.c *error = EXIT_STDERR; error 1400 src/core/execute.c *error = EXIT_CGROUP; error 1412 src/core/execute.c *error = EXIT_OOM_ADJUST; error 1419 src/core/execute.c *error = EXIT_NICE; error 1434 src/core/execute.c *error = EXIT_SETSCHEDULER; error 1441 src/core/execute.c *error = EXIT_CPUAFFINITY; error 1447 src/core/execute.c *error = EXIT_IOPRIO; error 1453 src/core/execute.c *error = EXIT_TIMERSLACK; error 1459 src/core/execute.c *error = EXIT_PERSONALITY; error 1469 src/core/execute.c *error = EXIT_STDIN; error 1480 src/core/execute.c *error = EXIT_BUS_ENDPOINT; error 1490 src/core/execute.c *error = EXIT_CGROUP; error 1497 src/core/execute.c *error = EXIT_CGROUP; error 1511 src/core/execute.c *error = EXIT_RUNTIME_DIRECTORY; error 1517 src/core/execute.c *error = EXIT_RUNTIME_DIRECTORY; error 1526 src/core/execute.c *error = EXIT_GROUP; error 1537 src/core/execute.c *error = EXIT_PAM; error 1546 src/core/execute.c *error = EXIT_NETWORK; error 1591 src/core/execute.c *error = EXIT_NAMESPACE; error 1599 src/core/execute.c *error = EXIT_CHROOT; error 1604 src/core/execute.c *error = EXIT_CHDIR; error 1613 src/core/execute.c *error = EXIT_MEMORY; error 1618 src/core/execute.c *error = EXIT_CHDIR; error 1627 src/core/execute.c *error = EXIT_SELINUX_CONTEXT; error 1645 src/core/execute.c *error = EXIT_FDS; error 1656 src/core/execute.c *error = EXIT_LIMITS; error 1664 src/core/execute.c *error = EXIT_CAPABILITIES; error 1672 src/core/execute.c *error = EXIT_USER; error 1683 src/core/execute.c *error = EXIT_SECUREBITS; error 1689 src/core/execute.c *error = EXIT_CAPABILITIES; error 1695 src/core/execute.c *error = EXIT_NO_NEW_PRIVILEGES; error 1704 src/core/execute.c *error = EXIT_ADDRESS_FAMILIES; error 1714 src/core/execute.c *error = EXIT_SECCOMP; error 1727 src/core/execute.c *error = EXIT_SELINUX_CONTEXT; error 1738 src/core/execute.c *error = EXIT_APPARMOR_PROFILE; error 1747 src/core/execute.c *error = EXIT_MEMORY; error 1759 src/core/execute.c *error = EXIT_MEMORY; error 1765 src/core/execute.c *error = EXIT_MEMORY; error 1786 src/core/execute.c *error = EXIT_EXEC; error 65 src/core/failure-action.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 70 src/core/failure-action.c r = manager_add_job_by_name(m, JOB_START, SPECIAL_REBOOT_TARGET, JOB_REPLACE, true, &error, NULL); error 72 src/core/failure-action.c log_error("Failed to reboot: %s.", bus_error_message(&error, r)); error 99 src/core/failure-action.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 103 src/core/failure-action.c r = manager_add_job_by_name(m, JOB_START, SPECIAL_POWEROFF_TARGET, JOB_REPLACE, true, &error, NULL); error 105 src/core/failure-action.c log_error("Failed to poweroff: %s.", bus_error_message(&error, r)); error 1519 src/core/load-fragment.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1543 src/core/load-fragment.c r = manager_load_unit(UNIT(s)->manager, p, NULL, &error, &x); error 1546 src/core/load-fragment.c "Failed to load unit %s, ignoring: %s", rvalue, bus_error_message(&error, r)); error 1656 src/core/load-fragment.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1680 src/core/load-fragment.c r = manager_load_unit(UNIT(n)->manager, p, NULL, &error, &x); error 1683 src/core/load-fragment.c "Failed to load unit %s, ignoring: %s", rvalue, bus_error_message(&error, r)); error 1695 src/core/main.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1701 src/core/main.c r = manager_load_unit(m, arg_default_unit, NULL, &error, &target); error 1703 src/core/main.c log_error("Failed to load default target: %s", bus_error_message(&error, r)); error 1712 src/core/main.c r = manager_load_unit(m, SPECIAL_RESCUE_TARGET, NULL, &error, &target); error 1714 src/core/main.c log_error("Failed to load rescue target: %s", bus_error_message(&error, r)); error 1735 src/core/main.c r = manager_add_job(m, JOB_START, target, JOB_ISOLATE, false, &error, &default_unit_job); error 1737 src/core/main.c log_debug("Default target could not be isolated, starting instead: %s", bus_error_message(&error, r)); error 1739 src/core/main.c r = manager_add_job(m, JOB_START, target, JOB_REPLACE, false, &error, &default_unit_job); error 1741 src/core/main.c log_error("Failed to start default target: %s", bus_error_message(&error, r)); error 1746 src/core/main.c log_error("Failed to isolate default target: %s", bus_error_message(&error, r)); error 1652 src/core/manager.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1657 src/core/manager.c r = manager_add_job_by_name(m, JOB_START, name, mode, true, &error, NULL); error 1659 src/core/manager.c log_error_unit(name, "Failed to enqueue %s job: %s", name, bus_error_message(&error, r)); error 1708 src/core/mount.c static int mount_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 1709 src/core/mount.c return unit_kill_common(u, who, signo, -1, MOUNT(u)->control_pid, error); error 491 src/core/path.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 501 src/core/path.c JOB_REPLACE, true, &error, NULL); error 516 src/core/path.c UNIT(p)->id, bus_error_message(&error, r)); error 334 src/core/scope.c static int scope_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 335 src/core/scope.c return unit_kill_common(u, who, signo, -1, -1, error); error 145 src/core/selinux-access.c static int mac_selinux_access_init(sd_bus_error *error) { error 156 src/core/selinux-access.c return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to initialize SELinux."); error 184 src/core/selinux-access.c sd_bus_error *error) { error 197 src/core/selinux-access.c assert(error); error 202 src/core/selinux-access.c r = mac_selinux_access_init(error); error 224 src/core/selinux-access.c r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to get file context on %s.", path); error 232 src/core/selinux-access.c r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to get current context."); error 248 src/core/selinux-access.c r = sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "SELinux policy denies access."); error 256 src/core/selinux-access.c sd_bus_error_free(error); error 270 src/core/selinux-access.c sd_bus_error *error) { error 279 src/core/selinux-access.c r = mac_selinux_unit_access_check(u, message, permission, error); error 1464 src/core/service.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1484 src/core/service.c r = manager_add_job(UNIT(s)->manager, JOB_RESTART, UNIT(s), JOB_FAIL, false, &error, NULL); error 1496 src/core/service.c log_warning_unit(UNIT(s)->id, "%s failed to schedule restart job: %s", UNIT(s)->id, bus_error_message(&error, -r)); error 2803 src/core/service.c static int service_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 2806 src/core/service.c return unit_kill_common(u, who, signo, s->main_pid, s->control_pid, error); error 170 src/core/shutdown.c goto error; error 183 src/core/shutdown.c goto error; error 197 src/core/shutdown.c goto error; error 418 src/core/shutdown.c error: error 206 src/core/slice.c static int slice_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 207 src/core/slice.c return unit_kill_common(u, who, signo, -1, -1, error); error 1742 src/core/socket.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1796 src/core/socket.c r = manager_add_job(UNIT(s)->manager, JOB_START, UNIT_DEREF(s->service), JOB_REPLACE, true, &error, NULL); error 1858 src/core/socket.c r = manager_add_job(UNIT(s)->manager, JOB_START, UNIT(service), JOB_REPLACE, true, &error, NULL); error 1871 src/core/socket.c bus_error_message(&error, r)); error 2616 src/core/socket.c static int socket_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 2617 src/core/socket.c return unit_kill_common(u, who, signo, -1, SOCKET(u)->control_pid, error); error 1373 src/core/swap.c static int swap_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { error 1374 src/core/swap.c return unit_kill_common(u, who, signo, -1, SWAP(u)->control_pid, error); error 493 src/core/timer.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 503 src/core/timer.c JOB_REPLACE, true, &error, NULL); error 518 src/core/timer.c UNIT(t)->id, bus_error_message(&error, r)); error 2890 src/core/unit.c int unit_kill(Unit *u, KillWho w, int signo, sd_bus_error *error) { error 2899 src/core/unit.c return UNIT_VTABLE(u)->kill(u, w, signo, error); error 2936 src/core/unit.c sd_bus_error *error) { error 2942 src/core/unit.c sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_PROCESS, "%s units have no main processes", unit_type_to_string(u->type)); error 2944 src/core/unit.c sd_bus_error_set_const(error, BUS_ERROR_NO_SUCH_PROCESS, "No main process to kill"); error 2950 src/core/unit.c sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_PROCESS, "%s units have no control processes", unit_type_to_string(u->type)); error 2952 src/core/unit.c sd_bus_error_set_const(error, BUS_ERROR_NO_SUCH_PROCESS, "No control process to kill"); error 309 src/core/unit.h int (*kill)(Unit *u, KillWho w, int signo, sd_bus_error *error); error 359 src/core/unit.h int (*bus_set_property)(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error); error 498 src/core/unit.h int unit_kill(Unit *u, KillWho w, int signo, sd_bus_error *error); error 499 src/core/unit.h int unit_kill_common(Unit *u, KillWho who, int signo, pid_t main_pid, pid_t control_pid, sd_bus_error *error); error 49 src/fsck/fsck.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 69 src/fsck/fsck.c &error, error 74 src/fsck/fsck.c if (r < 0 && !sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_JOB)) error 75 src/fsck/fsck.c log_error("Failed to start unit: %s", bus_error_message(&error, -r)); error 137 src/hostname/hostnamectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 147 src/hostname/hostnamectl.c &error, &reply, "s"); error 149 src/hostname/hostnamectl.c log_error("Could not get property: %s", bus_error_message(&error, -r)); error 242 src/hostname/hostnamectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 253 src/hostname/hostnamectl.c &error, NULL, error 256 src/hostname/hostnamectl.c log_error("Could not set property: %s", bus_error_message(&error, -r)); error 369 src/hostname/hostnamed.c sd_bus_error *error) { error 393 src/hostname/hostnamed.c sd_bus_error *error) { error 406 src/hostname/hostnamed.c static int method_set_hostname(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 424 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid hostname '%s'", name); error 429 src/hostname/hostnamed.c r = bus_verify_polkit_async(m, CAP_SYS_ADMIN, "org.freedesktop.hostname1.set-hostname", interactive, &c->polkit_registry, error); error 445 src/hostname/hostnamed.c return sd_bus_error_set_errnof(error, r, "Failed to set hostname: %s", strerror(-r)); error 455 src/hostname/hostnamed.c static int method_set_static_hostname(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 471 src/hostname/hostnamed.c r = bus_verify_polkit_async(m, CAP_SYS_ADMIN, "org.freedesktop.hostname1.set-static-hostname", interactive, &c->polkit_registry, error); error 484 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid static hostname '%s'", name); error 497 src/hostname/hostnamed.c return sd_bus_error_set_errnof(error, r, "Failed to set hostname: %s", strerror(-r)); error 503 src/hostname/hostnamed.c return sd_bus_error_set_errnof(error, r, "Failed to set static hostname: %s", strerror(-r)); error 513 src/hostname/hostnamed.c static int set_machine_info(Context *c, sd_bus *bus, sd_bus_message *m, int prop, sd_bus_message_handler_t cb, sd_bus_error *error) { error 539 src/hostname/hostnamed.c "org.freedesktop.hostname1.set-machine-info", interactive, &c->polkit_registry, error); error 555 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid icon name '%s'", name); error 557 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid pretty host name '%s'", name); error 559 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid chassis '%s'", name); error 561 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid deployment '%s'", name); error 563 src/hostname/hostnamed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid location '%s'", name); error 576 src/hostname/hostnamed.c return sd_bus_error_set_errnof(error, r, "Failed to write machine info: %s", strerror(-r)); error 594 src/hostname/hostnamed.c static int method_set_pretty_hostname(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 595 src/hostname/hostnamed.c return set_machine_info(userdata, bus, m, PROP_PRETTY_HOSTNAME, method_set_pretty_hostname, error); error 598 src/hostname/hostnamed.c static int method_set_icon_name(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 599 src/hostname/hostnamed.c return set_machine_info(userdata, bus, m, PROP_ICON_NAME, method_set_icon_name, error); error 602 src/hostname/hostnamed.c static int method_set_chassis(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 603 src/hostname/hostnamed.c return set_machine_info(userdata, bus, m, PROP_CHASSIS, method_set_chassis, error); error 606 src/hostname/hostnamed.c static int method_set_deployment(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 607 src/hostname/hostnamed.c return set_machine_info(userdata, bus, m, PROP_DEPLOYMENT, method_set_deployment, error); error 610 src/hostname/hostnamed.c static int method_set_location(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 611 src/hostname/hostnamed.c return set_machine_info(userdata, bus, m, PROP_LOCATION, method_set_location, error); error 109 src/initctl/initctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 135 src/initctl/initctl.c &error, error 139 src/initctl/initctl.c log_error("Failed to change runlevel: %s", bus_error_message(&error, -r)); error 398 src/journal-remote/journal-remote.c goto error; error 404 src/journal-remote/journal-remote.c goto error; error 409 src/journal-remote/journal-remote.c error: error 698 src/journal-remote/journal-remote.c goto error; error 709 src/journal-remote/journal-remote.c goto error; error 716 src/journal-remote/journal-remote.c goto error; error 724 src/journal-remote/journal-remote.c goto error; error 730 src/journal-remote/journal-remote.c goto error; error 736 src/journal-remote/journal-remote.c goto error; error 742 src/journal-remote/journal-remote.c goto error; error 748 src/journal-remote/journal-remote.c error: error 225 src/journal-remote/journal-upload.c easy_setopt(curl, CURLOPT_ERRORBUFFER, u->error, error 275 src/journal-remote/journal-upload.c u->error[0] = '\0'; error 506 src/journal-remote/journal-upload.c if (u->error[0]) error 508 src/journal-remote/journal-upload.c u->url, (int) sizeof(u->error), u->error); error 29 src/journal-remote/journal-upload.h char error[CURL_ERROR_SIZE]; error 367 src/journal/catalog.c goto error; error 373 src/journal/catalog.c goto error; error 379 src/journal/catalog.c goto error; error 386 src/journal/catalog.c goto error; error 394 src/journal/catalog.c goto error; error 399 src/journal/catalog.c error: error 638 src/journal/coredumpctl.c goto error; error 643 src/journal/coredumpctl.c goto error; error 653 src/journal/coredumpctl.c goto error; error 659 src/journal/coredumpctl.c goto error; error 664 src/journal/coredumpctl.c goto error; error 671 src/journal/coredumpctl.c goto error; error 681 src/journal/coredumpctl.c error: error 358 src/journal/journal-send.c char error[6 + 10 + 1]; /* for a 32bit value */ error 370 src/journal/journal-send.c snprintf(error, sizeof(error), "ERRNO=%u", _saved_errno_); error 371 src/journal/journal-send.c char_array_0(error); error 375 src/journal/journal-send.c IOVEC_SET_STRING(iov[skip+2], error); error 129 src/journal/journal-verify.c error(offset, "bad n_entries: %"PRIu64, o->data.n_entries); error 134 src/journal/journal-verify.c error(offset, "bad object size (<= %zu): %"PRIu64, error 152 src/journal/journal-verify.c error(offset, "%s decompression failed: %s", error 162 src/journal/journal-verify.c error(offset, "invalid hash (%08"PRIx64" vs. %08"PRIx64, h1, h2); error 170 src/journal/journal-verify.c error(offset, "invalid offset (next_hash_offset="OFSfmt", next_field_offset="OFSfmt", entry_offset="OFSfmt", entry_array_offset="OFSfmt, error 183 src/journal/journal-verify.c error(offset, error 192 src/journal/journal-verify.c error(offset, error 202 src/journal/journal-verify.c error(offset, error 210 src/journal/journal-verify.c error(offset, error 217 src/journal/journal-verify.c error(offset, error 224 src/journal/journal-verify.c error(offset, error 231 src/journal/journal-verify.c error(offset, error 240 src/journal/journal-verify.c error(offset, error 254 src/journal/journal-verify.c error(offset, error 264 src/journal/journal-verify.c error(offset, error 273 src/journal/journal-verify.c error(offset, error 283 src/journal/journal-verify.c error(offset, error 298 src/journal/journal-verify.c error(offset, error 305 src/journal/journal-verify.c error(offset, error 314 src/journal/journal-verify.c error(offset, error 325 src/journal/journal-verify.c error(offset, error 332 src/journal/journal-verify.c error(offset, error 406 src/journal/journal-verify.c error(data_p, error 423 src/journal/journal-verify.c error(entry_p, error 467 src/journal/journal-verify.c error(entry_p, "entry object doesn't exist in main entry array"); error 497 src/journal/journal-verify.c error(p, error 519 src/journal/journal-verify.c error(p, "array chain too short"); error 524 src/journal/journal-verify.c error(p, "invalid array offset "OFSfmt, a); error 534 src/journal/journal-verify.c error(p, "array chain has cycle (jumps back from "OFSfmt" to "OFSfmt")", error 544 src/journal/journal-verify.c error(p, "data object's entry array not sorted"); error 595 src/journal/journal-verify.c error(p, "invalid data object at hash entry %"PRIu64" of %"PRIu64, error 606 src/journal/journal-verify.c error(p, "hash chain has a cycle in hash entry %"PRIu64" of %"PRIu64, error 612 src/journal/journal-verify.c error(p, "hash value mismatch in hash entry %"PRIu64" of %"PRIu64, error 626 src/journal/journal-verify.c error(p, "tail hash pointer mismatch in hash table"); error 680 src/journal/journal-verify.c error(p, "invalid data object of entry"); error 689 src/journal/journal-verify.c error(p, "hash mismatch for data object of entry"); error 697 src/journal/journal-verify.c error(p, "data object missing from hash table"); error 732 src/journal/journal-verify.c error(a, "array chain too short at %"PRIu64" of %"PRIu64, i, n); error 737 src/journal/journal-verify.c error(a, "invalid array %"PRIu64" of %"PRIu64, i, n); error 747 src/journal/journal-verify.c error(a, error 759 src/journal/journal-verify.c error(a, "entry array not sorted at %"PRIu64" of %"PRIu64, error 766 src/journal/journal-verify.c error(a, "invalid array entry at %"PRIu64" of %"PRIu64, error 855 src/journal/journal-verify.c error(offsetof(Header, reserved[i]), "reserved field is non-zero"); error 870 src/journal/journal-verify.c error(p, "invalid object"); error 875 src/journal/journal-verify.c error(offsetof(Header, tail_object_offset), "invalid tail object pointer"); error 887 src/journal/journal-verify.c error(p, "invalid object contents: %s", strerror(-r)); error 893 src/journal/journal-verify.c error(p, "objected with double compression"); error 899 src/journal/journal-verify.c error(p, "XZ compressed object in file without XZ compression"); error 905 src/journal/journal-verify.c error(p, "LZ4 compressed object in file without LZ4 compression"); error 926 src/journal/journal-verify.c error(p, "first entry before first tag"); error 936 src/journal/journal-verify.c error(p, "older entry after newer tag"); error 943 src/journal/journal-verify.c error(p, "head entry sequence number incorrect"); error 950 src/journal/journal-verify.c error(p, "entry sequence number out of synchronization"); error 961 src/journal/journal-verify.c error(p, "entry timestamp out of synchronization"); error 972 src/journal/journal-verify.c error(p, "head entry realtime timestamp incorrect"); error 985 src/journal/journal-verify.c error(p, "more than one data hash table"); error 992 src/journal/journal-verify.c error(p, "header fields for data hash table invalid"); error 1002 src/journal/journal-verify.c error(p, "more than one field hash table"); error 1009 src/journal/journal-verify.c error(p, "header fields for field hash table invalid"); error 1024 src/journal/journal-verify.c error(p, "more than one main entry array"); error 1037 src/journal/journal-verify.c error(p, "tag object in file without sealing"); error 1043 src/journal/journal-verify.c error(p, "tag sequence number out of synchronization"); error 1049 src/journal/journal-verify.c error(p, "epoch sequence out of synchronization"); error 1062 src/journal/journal-verify.c error(p, "tag/entry realtime timestamp out of synchronization"); error 1105 src/journal/journal-verify.c error(p, "tag failed verification"); error 1134 src/journal/journal-verify.c error(le64toh(f->header->tail_object_offset), "tail object pointer dead"); error 1140 src/journal/journal-verify.c error(offsetof(Header, n_objects), "object number mismatch"); error 1146 src/journal/journal-verify.c error(offsetof(Header, n_entries), "entry number mismatch"); error 1153 src/journal/journal-verify.c error(offsetof(Header, n_data), "data number mismatch"); error 1160 src/journal/journal-verify.c error(offsetof(Header, n_fields), "field number mismatch"); error 1167 src/journal/journal-verify.c error(offsetof(Header, n_tags), "tag number mismatch"); error 1174 src/journal/journal-verify.c error(offsetof(Header, n_entry_arrays), "entry array number mismatch"); error 1180 src/journal/journal-verify.c error(0, "missing data hash table"); error 1186 src/journal/journal-verify.c error(0, "missing field hash table"); error 1192 src/journal/journal-verify.c error(0, "missing entry array"); error 1199 src/journal/journal-verify.c error(offsetof(Header, tail_entry_seqnum), "invalid tail seqnum"); error 1207 src/journal/journal-verify.c error(0, "invalid tail monotonic timestamp"); error 1213 src/journal/journal-verify.c error(0, "invalid tail realtime timestamp"); error 1643 src/journal/journalctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1666 src/journal/journalctl.c &error, error 1670 src/journal/journalctl.c log_error("Failed to kill journal service: %s", bus_error_message(&error, r)); error 196 src/libsystemd-network/dhcp6-option.c goto error; error 209 src/libsystemd-network/dhcp6-option.c goto error; error 218 src/libsystemd-network/dhcp6-option.c goto error; error 231 src/libsystemd-network/dhcp6-option.c goto error; error 247 src/libsystemd-network/dhcp6-option.c goto error; error 278 src/libsystemd-network/dhcp6-option.c goto error; error 308 src/libsystemd-network/dhcp6-option.c error: error 94 src/libsystemd-network/sd-dhcp-client.c static void client_stop(sd_dhcp_client *client, int error); error 303 src/libsystemd-network/sd-dhcp-client.c static void client_stop(sd_dhcp_client *client, int error) { error 306 src/libsystemd-network/sd-dhcp-client.c if (error < 0) error 307 src/libsystemd-network/sd-dhcp-client.c log_dhcp_client(client, "STOPPED: %s", strerror(-error)); error 308 src/libsystemd-network/sd-dhcp-client.c else if (error == DHCP_EVENT_STOP) error 313 src/libsystemd-network/sd-dhcp-client.c client_notify(client, error); error 652 src/libsystemd-network/sd-dhcp-client.c goto error; error 678 src/libsystemd-network/sd-dhcp-client.c goto error; error 682 src/libsystemd-network/sd-dhcp-client.c goto error; error 703 src/libsystemd-network/sd-dhcp-client.c goto error; error 716 src/libsystemd-network/sd-dhcp-client.c goto error; error 721 src/libsystemd-network/sd-dhcp-client.c goto error; error 726 src/libsystemd-network/sd-dhcp-client.c goto error; error 736 src/libsystemd-network/sd-dhcp-client.c goto error; error 744 src/libsystemd-network/sd-dhcp-client.c goto error; error 754 src/libsystemd-network/sd-dhcp-client.c goto error; error 770 src/libsystemd-network/sd-dhcp-client.c goto error; error 775 src/libsystemd-network/sd-dhcp-client.c error: error 794 src/libsystemd-network/sd-dhcp-client.c goto error; error 799 src/libsystemd-network/sd-dhcp-client.c goto error; error 804 src/libsystemd-network/sd-dhcp-client.c goto error; error 806 src/libsystemd-network/sd-dhcp-client.c error: error 827 src/libsystemd-network/sd-dhcp-client.c goto error; error 835 src/libsystemd-network/sd-dhcp-client.c goto error; error 837 src/libsystemd-network/sd-dhcp-client.c error: error 1241 src/libsystemd-network/sd-dhcp-client.c goto error; error 1246 src/libsystemd-network/sd-dhcp-client.c goto error; error 1251 src/libsystemd-network/sd-dhcp-client.c goto error; error 1284 src/libsystemd-network/sd-dhcp-client.c goto error; error 1290 src/libsystemd-network/sd-dhcp-client.c goto error; error 1310 src/libsystemd-network/sd-dhcp-client.c goto error; error 1314 src/libsystemd-network/sd-dhcp-client.c goto error; error 1330 src/libsystemd-network/sd-dhcp-client.c goto error; error 1344 src/libsystemd-network/sd-dhcp-client.c goto error; error 1347 src/libsystemd-network/sd-dhcp-client.c error: error 305 src/libsystemd-network/sd-dhcp6-client.c static void client_stop(sd_dhcp6_client *client, int error) { error 310 src/libsystemd-network/sd-dhcp6-client.c client_notify(client, error); error 555 src/libsystemd-network/sd-dhcp6-client.c goto error; error 586 src/libsystemd-network/sd-dhcp6-client.c goto error; error 591 src/libsystemd-network/sd-dhcp6-client.c goto error; error 596 src/libsystemd-network/sd-dhcp6-client.c goto error; error 610 src/libsystemd-network/sd-dhcp6-client.c goto error; error 615 src/libsystemd-network/sd-dhcp6-client.c goto error; error 620 src/libsystemd-network/sd-dhcp6-client.c goto error; error 623 src/libsystemd-network/sd-dhcp6-client.c error: error 325 src/libsystemd-network/sd-icmp6-nd.c goto error; error 329 src/libsystemd-network/sd-icmp6-nd.c goto error; error 333 src/libsystemd-network/sd-icmp6-nd.c goto error; error 338 src/libsystemd-network/sd-icmp6-nd.c goto error; error 342 src/libsystemd-network/sd-icmp6-nd.c goto error; error 345 src/libsystemd-network/sd-icmp6-nd.c error: error 492 src/libsystemd-network/sd-ipv4ll.c goto error; error 497 src/libsystemd-network/sd-ipv4ll.c goto error; error 499 src/libsystemd-network/sd-ipv4ll.c error: error 67 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 94 src/libsystemd/sd-bus/bus-convenience.c return sd_bus_call(bus, m, 0, error, reply); error 166 src/libsystemd/sd-bus/bus-convenience.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 182 src/libsystemd/sd-bus/bus-convenience.c bus_error_setfv(&error, name, format, ap); error 185 src/libsystemd/sd-bus/bus-convenience.c return sd_bus_reply_method_error(call, &error); error 190 src/libsystemd/sd-bus/bus-convenience.c int error, error 210 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error_set_errno(&berror, error); error 217 src/libsystemd/sd-bus/bus-convenience.c int error, error 237 src/libsystemd/sd-bus/bus-convenience.c bus_error_set_errnofv(&berror, error, format, ap); error 249 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 266 src/libsystemd/sd-bus/bus-convenience.c r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &rep, "ss", strempty(interface), member); error 286 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 302 src/libsystemd/sd-bus/bus-convenience.c r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); error 323 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 340 src/libsystemd/sd-bus/bus-convenience.c r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); error 366 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 381 src/libsystemd/sd-bus/bus-convenience.c r = sd_bus_call_method(bus, destination, path, "org.freedesktop.DBus.Properties", "Get", error, &reply, "ss", strempty(interface), member); error 402 src/libsystemd/sd-bus/bus-convenience.c sd_bus_error *error, error 440 src/libsystemd/sd-bus/bus-convenience.c return sd_bus_call(bus, m, 0, error, NULL); error 93 src/libsystemd/sd-bus/bus-dump.c if (sd_bus_error_is_set(&m->error)) error 97 src/libsystemd/sd-bus/bus-dump.c ansi_highlight_red(), strna(m->error.name), ansi_highlight_off(), error 98 src/libsystemd/sd-bus/bus-dump.c ansi_highlight_red(), strna(m->error.message), ansi_highlight_off()); error 62 src/libsystemd/sd-bus/bus-error.c static sd_bus_error errno_to_bus_error_const(int error) { error 64 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 65 src/libsystemd/sd-bus/bus-error.c error = -error; error 67 src/libsystemd/sd-bus/bus-error.c switch (error) { error 119 src/libsystemd/sd-bus/bus-error.c static int errno_to_bus_error_name_new(int error, char **ret) { error 123 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 124 src/libsystemd/sd-bus/bus-error.c error = -error; error 126 src/libsystemd/sd-bus/bus-error.c name = errno_to_name(error); error 296 src/libsystemd/sd-bus/bus-error.c static void bus_error_strerror(sd_bus_error *e, int error) { error 310 src/libsystemd/sd-bus/bus-error.c x = strerror_r(error, m, k); error 365 src/libsystemd/sd-bus/bus-error.c _public_ int sd_bus_error_set_errno(sd_bus_error *e, int error) { error 367 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 368 src/libsystemd/sd-bus/bus-error.c error = -error; error 371 src/libsystemd/sd-bus/bus-error.c return -error; error 372 src/libsystemd/sd-bus/bus-error.c if (error == 0) error 373 src/libsystemd/sd-bus/bus-error.c return -error; error 378 src/libsystemd/sd-bus/bus-error.c *e = errno_to_bus_error_const(error); error 385 src/libsystemd/sd-bus/bus-error.c k = errno_to_bus_error_name_new(error, (char**) &e->name); error 390 src/libsystemd/sd-bus/bus-error.c return -error; error 396 src/libsystemd/sd-bus/bus-error.c bus_error_strerror(e, error); error 397 src/libsystemd/sd-bus/bus-error.c return -error; error 400 src/libsystemd/sd-bus/bus-error.c int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) { error 403 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 404 src/libsystemd/sd-bus/bus-error.c error = -error; error 407 src/libsystemd/sd-bus/bus-error.c return -error; error 408 src/libsystemd/sd-bus/bus-error.c if (error == 0) error 414 src/libsystemd/sd-bus/bus-error.c *e = errno_to_bus_error_const(error); error 421 src/libsystemd/sd-bus/bus-error.c k = errno_to_bus_error_name_new(error, (char**) &e->name); error 447 src/libsystemd/sd-bus/bus-error.c return -error; error 454 src/libsystemd/sd-bus/bus-error.c return -error; error 460 src/libsystemd/sd-bus/bus-error.c bus_error_strerror(e, error); error 461 src/libsystemd/sd-bus/bus-error.c return -error; error 464 src/libsystemd/sd-bus/bus-error.c _public_ int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) { error 467 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 468 src/libsystemd/sd-bus/bus-error.c error = -error; error 471 src/libsystemd/sd-bus/bus-error.c return -error; error 472 src/libsystemd/sd-bus/bus-error.c if (error == 0) error 481 src/libsystemd/sd-bus/bus-error.c r = bus_error_set_errnofv(e, error, format, ap); error 487 src/libsystemd/sd-bus/bus-error.c return sd_bus_error_set_errno(e, error); error 490 src/libsystemd/sd-bus/bus-error.c const char *bus_error_message(const sd_bus_error *e, int error) { error 502 src/libsystemd/sd-bus/bus-error.c if (error < 0) error 503 src/libsystemd/sd-bus/bus-error.c error = -error; error 505 src/libsystemd/sd-bus/bus-error.c return strerror(error); error 39 src/libsystemd/sd-bus/bus-error.h const char *bus_error_message(const sd_bus_error *e, int error); error 42 src/libsystemd/sd-bus/bus-error.h int bus_error_set_errnofv(sd_bus_error *e, int error, const char *format, va_list ap) _printf_(3,0); error 852 src/libsystemd/sd-bus/bus-kernel.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 863 src/libsystemd/sd-bus/bus-kernel.c sd_bus_error_setf(&error, SD_BUS_ERROR_SERVICE_UNKNOWN, "Destination %s not known", m->destination); error 874 src/libsystemd/sd-bus/bus-kernel.c sd_bus_error_setf(&error, SD_BUS_ERROR_SERVICE_UNKNOWN, "Activation of %s not requested", m->destination); error 885 src/libsystemd/sd-bus/bus-kernel.c &error, error 210 src/libsystemd/sd-bus/bus-message.c m->error.name = adjust_pointer(m->error.name, op, old_size, m->header); error 666 src/libsystemd/sd-bus/bus-message.c r = message_append_field_string(t, BUS_MESSAGE_HEADER_ERROR_NAME, SD_BUS_TYPE_STRING, e->name, &t->error.name); error 671 src/libsystemd/sd-bus/bus-message.c r = message_append_basic(t, SD_BUS_TYPE_STRING, e->message, (const void**) &t->error.message); error 676 src/libsystemd/sd-bus/bus-message.c t->error._need_free = -1; error 693 src/libsystemd/sd-bus/bus-message.c _cleanup_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 700 src/libsystemd/sd-bus/bus-message.c bus_error_setfv(&error, name, format, ap); error 703 src/libsystemd/sd-bus/bus-message.c return sd_bus_message_new_method_error(call, m, &error); error 709 src/libsystemd/sd-bus/bus-message.c int error, error 717 src/libsystemd/sd-bus/bus-message.c sd_bus_error_set_errno(&berror, error); error 725 src/libsystemd/sd-bus/bus-message.c int error, error 733 src/libsystemd/sd-bus/bus-message.c bus_error_set_errnofv(&berror, error, format, ap); error 769 src/libsystemd/sd-bus/bus-message.c r = message_append_field_string(t, BUS_MESSAGE_HEADER_ERROR_NAME, SD_BUS_TYPE_STRING, e->name, &t->error.name); error 774 src/libsystemd/sd-bus/bus-message.c r = message_append_basic(t, SD_BUS_TYPE_STRING, e->message, (const void**) &t->error.message); error 779 src/libsystemd/sd-bus/bus-message.c t->error._need_free = -1; error 891 src/libsystemd/sd-bus/bus-message.c assert_return(sd_bus_error_is_set(&m->error), NULL); error 893 src/libsystemd/sd-bus/bus-message.c return &m->error; error 978 src/libsystemd/sd-bus/bus-message.c if (name && (!m->error.name || !streq(m->error.name, name))) error 1263 src/libsystemd/sd-bus/bus-message.c m->error.message = (const char*) adjust_pointer(m->error.message, op, os, part->data); error 5046 src/libsystemd/sd-bus/bus-message.c if (m->error.name) error 5052 src/libsystemd/sd-bus/bus-message.c r = message_peek_field_string(m, error_name_is_valid, &ri, item_size, &m->error.name); error 5054 src/libsystemd/sd-bus/bus-message.c m->error._need_free = -1; error 5181 src/libsystemd/sd-bus/bus-message.c if (m->reply_cookie == 0 || !m->error.name) error 5210 src/libsystemd/sd-bus/bus-message.c sd_bus_message_read(m, "s", &m->error.message); error 5372 src/libsystemd/sd-bus/bus-message.c return sd_bus_error_get_errno(&m->error); error 5531 src/libsystemd/sd-bus/bus-message.c if ((*m)->header->type == SD_BUS_MESSAGE_METHOD_ERROR && (*m)->error.name) { error 5532 src/libsystemd/sd-bus/bus-message.c r = message_append_field_string(n, BUS_MESSAGE_HEADER_ERROR_NAME, SD_BUS_TYPE_STRING, (*m)->error.name, &n->error.message); error 5536 src/libsystemd/sd-bus/bus-message.c n->error._need_free = -1; error 95 src/libsystemd/sd-bus/bus-message.h sd_bus_error error; error 40 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 55 src/libsystemd/sd-bus/bus-objects.c r = c->find(bus, path, c->interface, u, &u, error); error 61 src/libsystemd/sd-bus/bus-objects.c if (sd_bus_error_is_set(error)) error 62 src/libsystemd/sd-bus/bus-objects.c return -sd_bus_error_get_errno(error); error 84 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 94 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, p->parent, &u, error); error 109 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 129 src/libsystemd/sd-bus/bus-objects.c r = c->callback(bus, prefix, slot->userdata, &children, error); error 135 src/libsystemd/sd-bus/bus-objects.c if (sd_bus_error_is_set(error)) error 136 src/libsystemd/sd-bus/bus-objects.c return -sd_bus_error_get_errno(error); error 173 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 183 src/libsystemd/sd-bus/bus-objects.c r = add_enumerated_to_set(bus, prefix, n->enumerators, s, error); error 203 src/libsystemd/sd-bus/bus-objects.c r = add_subtree_to_set(bus, prefix, i, s, error); error 218 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 232 src/libsystemd/sd-bus/bus-objects.c r = add_subtree_to_set(bus, prefix, n, s, error); error 297 src/libsystemd/sd-bus/bus-objects.c static int check_access(sd_bus *bus, sd_bus_message *m, struct vtable_member *c, sd_bus_error *error) { error 332 src/libsystemd/sd-bus/bus-objects.c return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Access to %s.%s() not permitted.", c->interface, c->member); error 342 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 355 src/libsystemd/sd-bus/bus-objects.c r = check_access(bus, m, c, &error); error 357 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 359 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, m->path, c->parent, &u, &error); error 361 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 400 src/libsystemd/sd-bus/bus-objects.c r = c->vtable->x.method.handler(bus, m, u, &error); error 405 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 425 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 442 src/libsystemd/sd-bus/bus-objects.c r = v->x.property.get(bus, path, interface, property, reply, userdata, error); error 448 src/libsystemd/sd-bus/bus-objects.c if (sd_bus_error_is_set(error)) error 449 src/libsystemd/sd-bus/bus-objects.c return -sd_bus_error_get_errno(error); error 490 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 506 src/libsystemd/sd-bus/bus-objects.c r = v->x.property.set(bus, path, interface, property, value, userdata, error); error 512 src/libsystemd/sd-bus/bus-objects.c if (sd_bus_error_is_set(error)) error 513 src/libsystemd/sd-bus/bus-objects.c return -sd_bus_error_get_errno(error); error 563 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 577 src/libsystemd/sd-bus/bus-objects.c r = vtable_property_get_userdata(bus, m->path, c, &u, &error); error 579 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 608 src/libsystemd/sd-bus/bus-objects.c r = invoke_property_get(bus, slot, c->vtable, m->path, c->interface, c->member, reply, u, &error); error 610 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 645 src/libsystemd/sd-bus/bus-objects.c r = check_access(bus, m, c, &error); error 647 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 649 src/libsystemd/sd-bus/bus-objects.c r = invoke_property_set(bus, slot, c->vtable, m->path, c->interface, c->member, m, u, &error); error 651 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 675 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 700 src/libsystemd/sd-bus/bus-objects.c r = invoke_property_get(bus, slot, v, path, c->interface, v->x.property.member, reply, vtable_property_convert_userdata(v, userdata), error); error 723 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 743 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_one_property(bus, reply, path, c, v, userdata, error); error 784 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 790 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, m->path, c, &u, &error); error 792 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 804 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_all_properties(bus, reply, m->path, c, u, &error); error 806 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 861 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 866 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, c, NULL, &error); error 883 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 897 src/libsystemd/sd-bus/bus-objects.c r = get_child_nodes(bus, m->path, n, &s, &error); error 899 src/libsystemd/sd-bus/bus-objects.c return bus_maybe_reply_error(m, r, &error); error 917 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, m->path, c, NULL, &error); error 919 src/libsystemd/sd-bus/bus-objects.c r = bus_maybe_reply_error(m, r, &error); error 991 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 1003 src/libsystemd/sd-bus/bus-objects.c assert(error); error 1015 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, i, &u, error); error 1071 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_all_properties(bus, reply, path, i, u, error); error 1107 src/libsystemd/sd-bus/bus-objects.c sd_bus_error *error) { error 1115 src/libsystemd/sd-bus/bus-objects.c assert(error); error 1118 src/libsystemd/sd-bus/bus-objects.c r = object_manager_serialize_path(bus, reply, path, path, false, error); error 1127 src/libsystemd/sd-bus/bus-objects.c r = object_manager_serialize_path(bus, reply, prefix, path, true, error); error 1144 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1163 src/libsystemd/sd-bus/bus-objects.c r = get_child_nodes(bus, m->path, n, &s, &error); error 1178 src/libsystemd/sd-bus/bus-objects.c r = object_manager_serialize_path_and_fallbacks(bus, reply, path, &error); error 1840 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1882 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, c, &u, &error); error 1925 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_one_property(bus, m, m->path, c, v->vtable, u, &error); error 1955 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_one_property(bus, m, m->path, c, v, u, &error); error 1983 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, c, &u, &error); error 2119 src/libsystemd/sd-bus/bus-objects.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2143 src/libsystemd/sd-bus/bus-objects.c r = node_vtable_get_userdata(bus, path, c, &u, &error); error 2163 src/libsystemd/sd-bus/bus-objects.c r = vtable_append_all_properties(bus, m, path, c, u, &error); error 1061 src/libsystemd/sd-bus/bus-socket.c int error = 0; error 1062 src/libsystemd/sd-bus/bus-socket.c socklen_t slen = sizeof(error); error 1078 src/libsystemd/sd-bus/bus-socket.c r = getsockopt(b->output_fd, SOL_SOCKET, SO_ERROR, &error, &slen); error 1081 src/libsystemd/sd-bus/bus-socket.c else if (error != 0) error 1082 src/libsystemd/sd-bus/bus-socket.c b->last_connect_error = error; error 143 src/libsystemd/sd-bus/bus-track.c static int on_name_owner_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 168 src/libsystemd/sd-bus/bus-util.c int bus_name_has_owner(sd_bus *c, const char *name, sd_bus_error *error) { error 180 src/libsystemd/sd-bus/bus-util.c error, error 189 src/libsystemd/sd-bus/bus-util.c return sd_bus_error_set_errno(error, r); error 300 src/libsystemd/sd-bus/bus-util.c static int async_polkit_callback(sd_bus *bus, sd_bus_message *reply, void *userdata, sd_bus_error *error) { error 335 src/libsystemd/sd-bus/bus-util.c sd_bus_error *error) { error 366 src/libsystemd/sd-bus/bus-util.c sd_bus_error_copy(error, e); error 386 src/libsystemd/sd-bus/bus-util.c return sd_bus_error_set(error, SD_BUS_ERROR_INTERACTIVE_AUTHORIZATION_REQUIRED, "Interactive authentication required."); error 820 src/libsystemd/sd-bus/bus-util.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 831 src/libsystemd/sd-bus/bus-util.c &error, error 893 src/libsystemd/sd-bus/bus-util.c int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { error 913 src/libsystemd/sd-bus/bus-util.c static int map_basic(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { error 1010 src/libsystemd/sd-bus/bus-util.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1049 src/libsystemd/sd-bus/bus-util.c r = prop->set(bus, member, m, &error, v); error 1051 src/libsystemd/sd-bus/bus-util.c r = map_basic(bus, member, m, &error, v); error 1112 src/libsystemd/sd-bus/bus-util.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1126 src/libsystemd/sd-bus/bus-util.c &error, error 1212 src/libsystemd/sd-bus/bus-util.c sd_bus_error *error) { error 1227 src/libsystemd/sd-bus/bus-util.c sd_bus_error *error) { error 1243 src/libsystemd/sd-bus/bus-util.c sd_bus_error *error) { error 1257 src/libsystemd/sd-bus/bus-util.c sd_bus_error *error) { error 1296 src/libsystemd/sd-bus/bus-util.c int bus_maybe_reply_error(sd_bus_message *m, int r, sd_bus_error *error) { error 1301 src/libsystemd/sd-bus/bus-util.c sd_bus_reply_method_errno(m, r, error); error 1303 src/libsystemd/sd-bus/bus-util.c } else if (sd_bus_error_is_set(error)) { error 1305 src/libsystemd/sd-bus/bus-util.c sd_bus_reply_method_error(m, error); error 1316 src/libsystemd/sd-bus/bus-util.c bus_error_message(error, r)); error 38 src/libsystemd/sd-bus/bus-util.h typedef int (*bus_property_set_t) (sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata); error 47 src/libsystemd/sd-bus/bus-util.h int bus_map_id128(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata); error 69 src/libsystemd/sd-bus/bus-util.h int bus_name_has_owner(sd_bus *c, const char *name, sd_bus_error *error); error 75 src/libsystemd/sd-bus/bus-util.h int bus_verify_polkit_async(sd_bus_message *call, int capability, const char *action, bool interactive, Hashmap **registry, sd_bus_error *error); error 87 src/libsystemd/sd-bus/bus-util.h int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); error 103 src/libsystemd/sd-bus/bus-util.h int bus_property_get_size(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); error 110 src/libsystemd/sd-bus/bus-util.h int bus_property_get_long(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); error 111 src/libsystemd/sd-bus/bus-util.h int bus_property_get_ulong(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error); error 177 src/libsystemd/sd-bus/bus-util.h sd_bus_error *error) { \ error 201 src/libsystemd/sd-bus/bus-util.h int bus_maybe_reply_error(sd_bus_message *m, int r, sd_bus_error *error); error 344 src/libsystemd/sd-bus/sd-bus.c static int hello_callback(sd_bus *bus, sd_bus_message *reply, void *userdata, sd_bus_error *error) { error 1509 src/libsystemd/sd-bus/sd-bus.c strna(m->error.message)); error 1836 src/libsystemd/sd-bus/sd-bus.c sd_bus_error *error, error 1849 src/libsystemd/sd-bus/sd-bus.c assert_return(!bus_error_is_dirty(error), -EINVAL); error 1901 src/libsystemd/sd-bus/sd-bus.c r = sd_bus_error_setf(error, SD_BUS_ERROR_INCONSISTENT_MESSAGE, "Reply message contained file descriptors which I couldn't accept. Sorry."); error 1904 src/libsystemd/sd-bus/sd-bus.c r = sd_bus_error_copy(error, &incoming->error); error 2383 src/libsystemd/sd-bus/sd-bus.c strna(m->error.message)); error 1050 src/libsystemd/sd-rtnl/rtnl-message.c return err->error; error 104 src/libsystemd/sd-rtnl/rtnl-util.c int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_rtnl_message **ret) { error 108 src/libsystemd/sd-rtnl/rtnl-util.c assert(error <= 0); error 120 src/libsystemd/sd-rtnl/rtnl-util.c err->error = error; error 29 src/libsystemd/sd-rtnl/rtnl-util.h int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_rtnl_message **ret); error 195 src/locale/localectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 221 src/locale/localectl.c r = sd_bus_call(bus, m, 0, &error, NULL); error 223 src/locale/localectl.c log_error("Failed to issue method call: %s", bus_error_message(&error, -r)); error 249 src/locale/localectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 272 src/locale/localectl.c &error, error 276 src/locale/localectl.c log_error("Failed to set keymap: %s", bus_error_message(&error, -r)); error 354 src/locale/localectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 379 src/locale/localectl.c &error, error 384 src/locale/localectl.c log_error("Failed to set keymap: %s", bus_error_message(&error, -r)); error 326 src/locale/localed.c sd_bus_error error = SD_BUS_ERROR_NULL; error 372 src/locale/localed.c r = sd_bus_call(bus, m, 0, &error, NULL); error 488 src/locale/localed.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 498 src/locale/localed.c &error, error 503 src/locale/localed.c log_error("Failed to issue method call: %s", bus_error_message(&error, -r)); error 813 src/locale/localed.c sd_bus_error *error) { error 838 src/locale/localed.c static int method_set_locale(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 878 src/locale/localed.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid Locale data."); error 892 src/locale/localed.c r = bus_verify_polkit_async(m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-locale", interactive, &c->polkit_registry, error); error 923 src/locale/localed.c return sd_bus_error_set_errnof(error, r, "Failed to set locale: %s", strerror(-r)); error 947 src/locale/localed.c static int method_set_vc_keyboard(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 968 src/locale/localed.c return sd_bus_error_set_errnof(error, -EINVAL, "Received invalid keymap data"); error 970 src/locale/localed.c r = bus_verify_polkit_async(m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-keyboard", interactive, &c->polkit_registry, error); error 983 src/locale/localed.c return sd_bus_error_set_errnof(error, r, "Failed to set virtual console keymap: %s", strerror(-r)); error 1008 src/locale/localed.c static int method_set_x11_keyboard(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 1039 src/locale/localed.c return sd_bus_error_set_errnof(error, -EINVAL, "Received invalid keyboard data"); error 1041 src/locale/localed.c r = bus_verify_polkit_async(m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-keyboard", interactive, &c->polkit_registry, error); error 1056 src/locale/localed.c return sd_bus_error_set_errnof(error, r, "Failed to set X11 keyboard layout: %s", strerror(-r)); error 46 src/login/inhibit.c static int inhibit(sd_bus *bus, sd_bus_error *error) { error 57 src/login/inhibit.c error, error 74 src/login/inhibit.c static int print_inhibitors(sd_bus *bus, sd_bus_error *error) { error 87 src/login/inhibit.c error, error 223 src/login/inhibit.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 244 src/login/inhibit.c r = print_inhibitors(bus, &error); error 246 src/login/inhibit.c log_error("Failed to list inhibitors: %s", bus_error_message(&error, -r)); error 261 src/login/inhibit.c fd = inhibit(bus, &error); error 263 src/login/inhibit.c log_error("Failed to inhibit: %s", bus_error_message(&error, -r)); error 77 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 92 src/login/loginctl.c &error, &reply, error 95 src/login/loginctl.c log_error("Failed to list sessions: %s", bus_error_message(&error, r)); error 120 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 135 src/login/loginctl.c &error, &reply, error 138 src/login/loginctl.c log_error("Failed to list users: %s", bus_error_message(&error, r)); error 163 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 177 src/login/loginctl.c &error, &reply, error 180 src/login/loginctl.c log_error("Failed to list seats: %s", bus_error_message(&error, r)); error 205 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 228 src/login/loginctl.c &error, &reply, "s"); error 293 src/login/loginctl.c static int prop_map_first_of_struct(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { error 335 src/login/loginctl.c static int prop_map_sessions_strv(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { error 644 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 654 src/login/loginctl.c &error, &reply, error 657 src/login/loginctl.c log_error("Failed to get session: %s", bus_error_message(&error, r)); error 696 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 713 src/login/loginctl.c &error, &reply, error 716 src/login/loginctl.c log_error("Failed to get user: %s", bus_error_message(&error, r)); error 755 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 765 src/login/loginctl.c &error, &reply, error 768 src/login/loginctl.c log_error("Failed to get seat: %s", bus_error_message(&error, r)); error 789 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 806 src/login/loginctl.c &error, NULL, error 809 src/login/loginctl.c log_error("Failed to issue method call: %s", bus_error_message(&error, -r)); error 818 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 835 src/login/loginctl.c &error, NULL, error 838 src/login/loginctl.c log_error("Could not kill session: %s", bus_error_message(&error, -r)); error 847 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 873 src/login/loginctl.c &error, NULL, error 876 src/login/loginctl.c log_error("Could not enable linger: %s", bus_error_message(&error, -r)); error 885 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 906 src/login/loginctl.c &error, NULL, error 909 src/login/loginctl.c log_error("Could not terminate user: %s", bus_error_message(&error, -r)); error 918 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 942 src/login/loginctl.c &error, NULL, error 945 src/login/loginctl.c log_error("Could not kill user: %s", bus_error_message(&error, -r)); error 954 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 970 src/login/loginctl.c &error, NULL, error 974 src/login/loginctl.c log_error("Could not attach device: %s", bus_error_message(&error, -r)); error 983 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 996 src/login/loginctl.c &error, NULL, error 999 src/login/loginctl.c log_error("Could not flush devices: %s", bus_error_message(&error, -r)); error 1005 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1016 src/login/loginctl.c &error, NULL, error 1019 src/login/loginctl.c log_error("Could not lock sessions: %s", bus_error_message(&error, -r)); error 1025 src/login/loginctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1039 src/login/loginctl.c &error, NULL, error 1042 src/login/loginctl.c log_error("Could not terminate seat: %s", bus_error_message(&error, -r)); error 59 src/login/logind-action.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 154 src/login/logind-action.c r = bus_manager_shutdown_or_sleep_now_or_later(m, target_table[handle], inhibit_operation, &error); error 156 src/login/logind-action.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 443 src/login/logind-core.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 473 src/login/logind-core.c &error, error 477 src/login/logind-core.c log_error("Failed to start %s: %s", name, bus_error_message(&error, r)); error 54 src/login/logind-dbus.c sd_bus_error *error) { error 72 src/login/logind-dbus.c sd_bus_error *error) { error 93 src/login/logind-dbus.c sd_bus_error *error) { error 114 src/login/logind-dbus.c sd_bus_error *error) { error 133 src/login/logind-dbus.c static int method_get_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 150 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 159 src/login/logind-dbus.c static int method_get_session_by_pid(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 192 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SESSION_FOR_PID, "PID "PID_FMT" does not belong to any known session", pid); error 201 src/login/logind-dbus.c static int method_get_user(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 218 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_USER, "No user "UID_FMT" known or logged in", uid); error 227 src/login/logind-dbus.c static int method_get_user_by_pid(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 260 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_USER_FOR_PID, "PID "PID_FMT" does not belong to any known or logged in user", pid); error 269 src/login/logind-dbus.c static int method_get_seat(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 286 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "No seat '%s' known", name); error 295 src/login/logind-dbus.c static int method_list_sessions(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 338 src/login/logind-dbus.c static int method_list_users(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 379 src/login/logind-dbus.c static int method_list_seats(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 417 src/login/logind-dbus.c static int method_list_inhibitors(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 452 src/login/logind-dbus.c static int method_create_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 475 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid leader PID"); error 482 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid session type %s", type); error 490 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid session class %s", class); error 497 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid desktop string %s", desktop); error 505 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "No seat '%s' known", cseat); error 514 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "TTY %s is virtual console but seat %s is not seat0", tty, seat->id); error 518 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Cannot determine VT number from virtual console TTY %s", tty); error 523 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Specified TTY and VT number do not match"); error 530 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Console TTY specified but seat is not seat0"); error 533 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Console TTY specified but VT number is not 0"); error 539 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "VT number out of range"); error 542 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Seat has no VTs but VT number not 0"); error 744 src/login/logind-dbus.c static int method_release_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 760 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 767 src/login/logind-dbus.c static int method_activate_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 783 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 792 src/login/logind-dbus.c static int method_activate_session_on_seat(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 812 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", session_name); error 816 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "No seat '%s' known", seat_name); error 819 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_SESSION_NOT_ON_SEAT, "Session %s not on seat %s", session_name, seat_name); error 828 src/login/logind-dbus.c static int method_lock_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 844 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 853 src/login/logind-dbus.c static int method_lock_sessions(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 868 src/login/logind-dbus.c static int method_kill_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 889 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid kill parameter '%s'", swho); error 893 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid signal %i", signo); error 897 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 906 src/login/logind-dbus.c static int method_kill_user(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 922 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid signal %i", signo); error 926 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_USER, "No user "UID_FMT" known or logged in", uid); error 935 src/login/logind-dbus.c static int method_terminate_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 951 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 960 src/login/logind-dbus.c static int method_terminate_user(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 976 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_USER, "No user "UID_FMT" known or logged in", uid); error 985 src/login/logind-dbus.c static int method_terminate_seat(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1001 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SEAT, "No seat '%s' known", name); error 1010 src/login/logind-dbus.c static int method_set_user_linger(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1038 src/login/logind-dbus.c error); error 1185 src/login/logind-dbus.c static int method_attach_device(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1199 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not in /sys", sysfs); error 1202 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Seat %s is not valid", seat); error 1210 src/login/logind-dbus.c error); error 1223 src/login/logind-dbus.c static int method_flush_devices(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1241 src/login/logind-dbus.c error); error 1357 src/login/logind-dbus.c sd_bus_error *error) { error 1377 src/login/logind-dbus.c error, error 1445 src/login/logind-dbus.c sd_bus_error *error) { error 1470 src/login/logind-dbus.c r = execute_shutdown_or_sleep(m, w, unit_name, error); error 1485 src/login/logind-dbus.c sd_bus_error *error) { error 1508 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_OPERATION_IN_PROGRESS, "There's already a shutdown or sleep operation in progress"); error 1516 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED, "Sleep verb not supported"); error 1535 src/login/logind-dbus.c r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action_multiple_sessions, interactive, &m->polkit_registry, error); error 1543 src/login/logind-dbus.c r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action_ignore_inhibit, interactive, &m->polkit_registry, error); error 1551 src/login/logind-dbus.c r = bus_verify_polkit_async(message, CAP_SYS_BOOT, action, interactive, &m->polkit_registry, error); error 1558 src/login/logind-dbus.c r = bus_manager_shutdown_or_sleep_now_or_later(m, unit_name, w, error); error 1565 src/login/logind-dbus.c static int method_poweroff(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1577 src/login/logind-dbus.c error); error 1580 src/login/logind-dbus.c static int method_reboot(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1592 src/login/logind-dbus.c error); error 1595 src/login/logind-dbus.c static int method_suspend(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1607 src/login/logind-dbus.c error); error 1610 src/login/logind-dbus.c static int method_hibernate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1622 src/login/logind-dbus.c error); error 1625 src/login/logind-dbus.c static int method_hybrid_sleep(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1637 src/login/logind-dbus.c error); error 1648 src/login/logind-dbus.c sd_bus_error *error) { error 1688 src/login/logind-dbus.c r = bus_verify_polkit(message, CAP_SYS_BOOT, action_multiple_sessions, false, &challenge, error); error 1701 src/login/logind-dbus.c r = bus_verify_polkit(message, CAP_SYS_BOOT, action_ignore_inhibit, false, &challenge, error); error 1717 src/login/logind-dbus.c r = bus_verify_polkit(message, CAP_SYS_BOOT, action, false, &challenge, error); error 1732 src/login/logind-dbus.c static int method_can_poweroff(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1742 src/login/logind-dbus.c error); error 1745 src/login/logind-dbus.c static int method_can_reboot(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1755 src/login/logind-dbus.c error); error 1758 src/login/logind-dbus.c static int method_can_suspend(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1768 src/login/logind-dbus.c error); error 1771 src/login/logind-dbus.c static int method_can_hibernate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1781 src/login/logind-dbus.c error); error 1784 src/login/logind-dbus.c static int method_can_hybrid_sleep(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1794 src/login/logind-dbus.c error); error 1797 src/login/logind-dbus.c static int method_inhibit(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 1820 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid what specification %s", what); error 1824 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid mode specification %s", mode); error 1828 src/login/logind-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Delay inhibitors only supported for shutdown and sleep"); error 1835 src/login/logind-dbus.c return sd_bus_error_setf(error, BUS_ERROR_OPERATION_IN_PROGRESS, "The operation inhibition has been requested for is already running"); error 1845 src/login/logind-dbus.c false, &m->polkit_registry, error); error 1998 src/login/logind-dbus.c int match_job_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 2067 src/login/logind-dbus.c int match_unit_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 2095 src/login/logind-dbus.c int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 2127 src/login/logind-dbus.c int match_reloading(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 2153 src/login/logind-dbus.c int match_name_owner_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 2202 src/login/logind-dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2227 src/login/logind-dbus.c r = execute_shutdown_or_sleep(manager, manager->action_what, manager->action_unit, &error); error 2229 src/login/logind-dbus.c log_warning("Failed to send delayed message: %s", bus_error_message(&error, r)); error 2246 src/login/logind-dbus.c sd_bus_error *error, error 2321 src/login/logind-dbus.c r = sd_bus_call(manager->bus, m, 0, error, &reply); error 2343 src/login/logind-dbus.c int manager_start_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job) { error 2356 src/login/logind-dbus.c error, error 2380 src/login/logind-dbus.c int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job) { error 2393 src/login/logind-dbus.c error, error 2397 src/login/logind-dbus.c if (sd_bus_error_has_name(error, BUS_ERROR_NO_SUCH_UNIT) || error 2398 src/login/logind-dbus.c sd_bus_error_has_name(error, BUS_ERROR_LOAD_FAILED)) { error 2403 src/login/logind-dbus.c sd_bus_error_free(error); error 2428 src/login/logind-dbus.c int manager_abandon_scope(Manager *manager, const char *scope, sd_bus_error *error) { error 2445 src/login/logind-dbus.c error, error 2449 src/login/logind-dbus.c if (sd_bus_error_has_name(error, BUS_ERROR_NO_SUCH_UNIT) || error 2450 src/login/logind-dbus.c sd_bus_error_has_name(error, BUS_ERROR_LOAD_FAILED) || error 2451 src/login/logind-dbus.c sd_bus_error_has_name(error, BUS_ERROR_SCOPE_NOT_RUNNING)) { error 2452 src/login/logind-dbus.c sd_bus_error_free(error); error 2462 src/login/logind-dbus.c int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, sd_bus_error *error) { error 2472 src/login/logind-dbus.c error, error 2478 src/login/logind-dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2497 src/login/logind-dbus.c &error, error 2503 src/login/logind-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_NO_REPLY) || error 2504 src/login/logind-dbus.c sd_bus_error_has_name(&error, SD_BUS_ERROR_DISCONNECTED)) error 2509 src/login/logind-dbus.c if (sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_UNIT) || error 2510 src/login/logind-dbus.c sd_bus_error_has_name(&error, BUS_ERROR_LOAD_FAILED)) error 2524 src/login/logind-dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2537 src/login/logind-dbus.c &error, error 2541 src/login/logind-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_NO_REPLY) || error 2542 src/login/logind-dbus.c sd_bus_error_has_name(&error, SD_BUS_ERROR_DISCONNECTED)) error 2545 src/login/logind-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_OBJECT)) error 41 src/login/logind-seat-dbus.c sd_bus_error *error) { error 64 src/login/logind-seat-dbus.c sd_bus_error *error) { error 82 src/login/logind-seat-dbus.c sd_bus_error *error) { error 100 src/login/logind-seat-dbus.c sd_bus_error *error) { error 118 src/login/logind-seat-dbus.c sd_bus_error *error) { error 159 src/login/logind-seat-dbus.c sd_bus_error *error) { error 177 src/login/logind-seat-dbus.c sd_bus_error *error) { error 197 src/login/logind-seat-dbus.c static int method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 212 src/login/logind-seat-dbus.c static int method_activate_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 228 src/login/logind-seat-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_SESSION, "No session '%s' known", name); error 231 src/login/logind-seat-dbus.c return sd_bus_error_setf(error, BUS_ERROR_SESSION_NOT_ON_SEAT, "Session %s not on seat %s", name, s->id); error 240 src/login/logind-seat-dbus.c static int method_switch_to(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 263 src/login/logind-seat-dbus.c static int method_switch_to_next(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 278 src/login/logind-seat-dbus.c static int method_switch_to_previous(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 315 src/login/logind-seat-dbus.c int seat_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 385 src/login/logind-seat-dbus.c int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 93 src/login/logind-seat.h int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error); error 94 src/login/logind-seat.h int seat_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); error 43 src/login/logind-session-dbus.c sd_bus_error *error) { error 66 src/login/logind-session-dbus.c sd_bus_error *error) { error 84 src/login/logind-session-dbus.c sd_bus_error *error) { error 110 src/login/logind-session-dbus.c sd_bus_error *error) { error 128 src/login/logind-session-dbus.c sd_bus_error *error) { error 146 src/login/logind-session-dbus.c sd_bus_error *error) { error 164 src/login/logind-session-dbus.c sd_bus_error *error) { error 184 src/login/logind-session-dbus.c static int method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 199 src/login/logind-session-dbus.c static int method_activate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 214 src/login/logind-session-dbus.c static int method_lock(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 229 src/login/logind-session-dbus.c static int method_set_idle_hint(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 252 src/login/logind-session-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may set idle hint"); error 259 src/login/logind-session-dbus.c static int method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 279 src/login/logind-session-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid kill parameter '%s'", swho); error 283 src/login/logind-session-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid signal %i", signo); error 292 src/login/logind-session-dbus.c static int method_take_control(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 315 src/login/logind-session-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may take control"); error 324 src/login/logind-session-dbus.c static int method_release_control(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 332 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); error 339 src/login/logind-session-dbus.c static int method_take_device(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 355 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); error 365 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_DEVICE_IS_TAKEN, "Device already taken"); error 378 src/login/logind-session-dbus.c static int method_release_device(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 394 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); error 399 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_DEVICE_NOT_TAKEN, "Device not taken"); error 405 src/login/logind-session-dbus.c static int method_pause_device_complete(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 421 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); error 426 src/login/logind-session-dbus.c return sd_bus_error_setf(error, BUS_ERROR_DEVICE_NOT_TAKEN, "Device not taken"); error 480 src/login/logind-session-dbus.c int session_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 544 src/login/logind-session-dbus.c int session_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 643 src/login/logind-session-dbus.c int session_send_create_reply(Session *s, sd_bus_error *error) { error 657 src/login/logind-session-dbus.c if (!sd_bus_error_is_set(error) && (s->scope_job || s->user->service_job)) error 663 src/login/logind-session-dbus.c if (error) error 664 src/login/logind-session-dbus.c return sd_bus_reply_method_error(c, error); error 368 src/login/logind-session-device.c goto error; error 373 src/login/logind-session-device.c goto error; error 389 src/login/logind-session-device.c goto error; error 398 src/login/logind-session-device.c error: error 499 src/login/logind-session.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 511 src/login/logind-session.c r = manager_start_scope(s->manager, scope, s->leader, s->user->slice, description, "systemd-logind.service", "systemd-user-sessions.service", &error, &job); error 514 src/login/logind-session.c scope, bus_error_message(&error, r), error.name); error 589 src/login/logind-session.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 599 src/login/logind-session.c r = manager_stop_unit(s->manager, s->scope, &error, &job); error 601 src/login/logind-session.c log_error("Failed to stop session scope: %s", bus_error_message(&error, r)); error 608 src/login/logind-session.c r = manager_abandon_scope(s->manager, s->scope, &error); error 610 src/login/logind-session.c log_error("Failed to abandon session scope: %s", bus_error_message(&error, r)); error 995 src/login/logind-session.c goto error; error 1002 src/login/logind-session.c goto error; error 1009 src/login/logind-session.c goto error; error 1022 src/login/logind-session.c goto error; error 1027 src/login/logind-session.c error: error 152 src/login/logind-session.h int session_node_enumerator(sd_bus *bus, const char *path,void *userdata, char ***nodes, sd_bus_error *error); error 153 src/login/logind-session.h int session_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); error 161 src/login/logind-session.h int session_send_create_reply(Session *s, sd_bus_error *error); error 38 src/login/logind-user-dbus.c sd_bus_error *error) { error 61 src/login/logind-user-dbus.c sd_bus_error *error) { error 79 src/login/logind-user-dbus.c sd_bus_error *error) { error 120 src/login/logind-user-dbus.c sd_bus_error *error) { error 138 src/login/logind-user-dbus.c sd_bus_error *error) { error 161 src/login/logind-user-dbus.c sd_bus_error *error) { error 175 src/login/logind-user-dbus.c static int method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 190 src/login/logind-user-dbus.c static int method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 204 src/login/logind-user-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid signal %i", signo); error 237 src/login/logind-user-dbus.c int user_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 300 src/login/logind-user-dbus.c int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 367 src/login/logind-user.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 375 src/login/logind-user.c r = manager_start_unit(u->manager, slice, &error, &job); error 377 src/login/logind-user.c log_error("Failed to start user slice: %s", bus_error_message(&error, r)); error 394 src/login/logind-user.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 408 src/login/logind-user.c r = manager_start_unit(u->manager, service, &error, &job); error 410 src/login/logind-user.c log_error("Failed to start user service: %s", bus_error_message(&error, r)); error 465 src/login/logind-user.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 474 src/login/logind-user.c r = manager_stop_unit(u->manager, u->slice, &error, &job); error 476 src/login/logind-user.c log_error("Failed to stop user slice: %s", bus_error_message(&error, r)); error 487 src/login/logind-user.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 496 src/login/logind-user.c r = manager_stop_unit(u->manager, u->service, &error, &job); error 498 src/login/logind-user.c log_error("Failed to stop user service: %s", bus_error_message(&error, r)); error 86 src/login/logind-user.h int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error); error 87 src/login/logind-user.h int user_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); error 579 src/login/logind.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 703 src/login/logind.c &error, error 706 src/login/logind.c log_error("Failed to enable subscription: %s", bus_error_message(&error, r)); error 167 src/login/logind.h int match_job_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 168 src/login/logind.h int match_unit_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 169 src/login/logind.h int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 170 src/login/logind.h int match_reloading(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 171 src/login/logind.h int match_name_owner_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 173 src/login/logind.h int bus_manager_shutdown_or_sleep_now_or_later(Manager *m, const char *unit_name, InhibitWhat w, sd_bus_error *error); error 179 src/login/logind.h int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, const char *after, const char *after2, sd_bus_error *error, char **job); error 180 src/login/logind.h int manager_start_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job); error 181 src/login/logind.h int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job); error 182 src/login/logind.h int manager_abandon_scope(Manager *manager, const char *scope, sd_bus_error *error); error 183 src/login/logind.h int manager_kill_unit(Manager *manager, const char *unit, KillWho who, int signo, sd_bus_error *error); error 44 src/machine/machine-dbus.c sd_bus_error *error) { error 67 src/machine/machine-dbus.c sd_bus_error *error) { error 93 src/machine/machine-dbus.c sd_bus_error *error) { error 113 src/machine/machine-dbus.c int bus_machine_method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 128 src/machine/machine-dbus.c int bus_machine_method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 148 src/machine/machine-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid kill parameter '%s'", swho); error 152 src/machine/machine-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid signal %i", signo); error 161 src/machine/machine-dbus.c int bus_machine_method_get_addresses(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 178 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 183 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 186 src/machine/machine-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_PRIVATE_NETWORKING, "Machine %s does not use private networking", m->name); error 190 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 193 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 197 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 234 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 238 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 255 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 261 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 265 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 271 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, EIO); error 278 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, EIO); error 284 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 288 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 293 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 295 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, EIO); error 299 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 304 src/machine/machine-dbus.c int bus_machine_method_get_os_release(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 322 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 325 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 329 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 358 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, -errno); error 364 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 368 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 370 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, EIO); error 374 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 378 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 383 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 388 src/machine/machine-dbus.c return sd_bus_error_set_errno(error, r); error 413 src/machine/machine-dbus.c int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { error 477 src/machine/machine-dbus.c int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { error 523 src/machine/machine-dbus.c int machine_send_create_reply(Machine *m, sd_bus_error *error) { error 535 src/machine/machine-dbus.c if (error) error 536 src/machine/machine-dbus.c return sd_bus_reply_method_error(c, error); error 324 src/machine/machine.c static int machine_start_scope(Machine *m, sd_bus_message *properties, sd_bus_error *error) { error 343 src/machine/machine.c r = manager_start_scope(m->manager, scope, m->leader, SPECIAL_MACHINE_SLICE, description, properties, error, &job); error 345 src/machine/machine.c log_error("Failed to start machine scope: %s", bus_error_message(error, r)); error 362 src/machine/machine.c int machine_start(Machine *m, sd_bus_message *properties, sd_bus_error *error) { error 375 src/machine/machine.c r = machine_start_scope(m, properties, error); error 400 src/machine/machine.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 410 src/machine/machine.c r = manager_stop_unit(m->manager, m->unit, &error, &job); error 412 src/machine/machine.c log_error("Failed to stop machine scope: %s", bus_error_message(&error, r)); error 89 src/machine/machine.h int machine_start(Machine *m, sd_bus_message *properties, sd_bus_error *error); error 100 src/machine/machine.h int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error); error 101 src/machine/machine.h int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error); error 103 src/machine/machine.h int bus_machine_method_terminate(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 104 src/machine/machine.h int bus_machine_method_kill(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 105 src/machine/machine.h int bus_machine_method_get_addresses(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 106 src/machine/machine.h int bus_machine_method_get_os_release(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 109 src/machine/machine.h int machine_send_create_reply(Machine *m, sd_bus_error *error); error 69 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 82 src/machine/machinectl.c &error, error 86 src/machine/machinectl.c log_error("Could not get machines: %s", bus_error_message(&error, -r)); error 117 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 139 src/machine/machinectl.c &error, error 143 src/machine/machinectl.c log_error("Failed to query ControlGroup: %s", bus_error_message(&error, -r)); error 369 src/machine/machinectl.c static int map_netif(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus_error *error, void *userdata) { error 454 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 484 src/machine/machinectl.c &error, error 488 src/machine/machinectl.c log_error("Could not get path to machine: %s", bus_error_message(&error, -r)); error 506 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 523 src/machine/machinectl.c &error, error 527 src/machine/machinectl.c log_error("Could not kill machine: %s", bus_error_message(&error, -r)); error 550 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 564 src/machine/machinectl.c &error, error 568 src/machine/machinectl.c log_error("Could not terminate machine: %s", bus_error_message(&error, -r)); error 663 src/machine/machinectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 686 src/machine/machinectl.c &error, error 690 src/machine/machinectl.c log_error("Could not get path to machine: %s", bus_error_message(&error, -r)); error 704 src/machine/machinectl.c &error, error 754 src/machine/machinectl.c &error, &reply3, error 757 src/machine/machinectl.c log_error("Failed to start getty service: %s", bus_error_message(&error, r)); error 44 src/machine/machined-dbus.c static int method_get_machine(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 61 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name); error 70 src/machine/machined-dbus.c static int method_get_machine_by_pid(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 103 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_MACHINE_FOR_PID, "PID "PID_FMT" does not belong to any known machine", pid); error 112 src/machine/machined-dbus.c static int method_list_machines(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 125 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 129 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 144 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 149 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 154 src/machine/machined-dbus.c static int method_create_or_register_machine(Manager *manager, sd_bus_message *message, bool read_network, Machine **_m, sd_bus_error *error) { error 173 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine name"); error 183 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine ID parameter"); error 200 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid network interface index %i", netif[i]); error 209 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine class parameter"); error 213 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid leader PID"); error 216 src/machine/machined-dbus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Root directory must be empty or an absolute path"); error 233 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_MACHINE_EXISTS, "Machine '%s' already exists", name); error 279 src/machine/machined-dbus.c static int method_create_machine_internal(sd_bus *bus, sd_bus_message *message, bool read_network, void *userdata, sd_bus_error *error) { error 284 src/machine/machined-dbus.c r = method_create_or_register_machine(manager, message, read_network, &m, error); error 292 src/machine/machined-dbus.c r = machine_start(m, message, error); error 304 src/machine/machined-dbus.c static int method_create_machine_with_network(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 305 src/machine/machined-dbus.c return method_create_machine_internal(bus, message, true, userdata, error); error 308 src/machine/machined-dbus.c static int method_create_machine(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 309 src/machine/machined-dbus.c return method_create_machine_internal(bus, message, false, userdata, error); error 312 src/machine/machined-dbus.c static int method_register_machine_internal(sd_bus *bus, sd_bus_message *message, bool read_network, void *userdata, sd_bus_error *error) { error 318 src/machine/machined-dbus.c r = method_create_or_register_machine(manager, message, read_network, &m, error); error 324 src/machine/machined-dbus.c r = sd_bus_error_set_errnof(error, r, "Failed to determine unit of process "PID_FMT" : %s", m->leader, strerror(-r)); error 330 src/machine/machined-dbus.c r = machine_start(m, NULL, error); error 347 src/machine/machined-dbus.c static int method_register_machine_with_network(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 348 src/machine/machined-dbus.c return method_register_machine_internal(bus, message, true, userdata, error); error 351 src/machine/machined-dbus.c static int method_register_machine(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 352 src/machine/machined-dbus.c return method_register_machine_internal(bus, message, false, userdata, error); error 355 src/machine/machined-dbus.c static int method_terminate_machine(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 367 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 371 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name); error 373 src/machine/machined-dbus.c return bus_machine_method_terminate(bus, message, machine, error); error 376 src/machine/machined-dbus.c static int method_kill_machine(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 388 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 392 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name); error 394 src/machine/machined-dbus.c return bus_machine_method_kill(bus, message, machine, error); error 397 src/machine/machined-dbus.c static int method_get_machine_addresses(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 409 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 413 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name); error 415 src/machine/machined-dbus.c return bus_machine_method_get_addresses(bus, message, machine, error); error 418 src/machine/machined-dbus.c static int method_get_machine_os_release(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 430 src/machine/machined-dbus.c return sd_bus_error_set_errno(error, r); error 434 src/machine/machined-dbus.c return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_MACHINE, "No machine '%s' known", name); error 436 src/machine/machined-dbus.c return bus_machine_method_get_os_release(bus, message, machine, error); error 457 src/machine/machined-dbus.c int match_job_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 500 src/machine/machined-dbus.c int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 526 src/machine/machined-dbus.c int match_unit_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 549 src/machine/machined-dbus.c int match_reloading(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 581 src/machine/machined-dbus.c sd_bus_error *error, error 639 src/machine/machined-dbus.c r = sd_bus_call(manager->bus, m, 0, error, &reply); error 661 src/machine/machined-dbus.c int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job) { error 674 src/machine/machined-dbus.c error, error 678 src/machine/machined-dbus.c if (sd_bus_error_has_name(error, BUS_ERROR_NO_SUCH_UNIT) || error 679 src/machine/machined-dbus.c sd_bus_error_has_name(error, BUS_ERROR_LOAD_FAILED)) { error 684 src/machine/machined-dbus.c sd_bus_error_free(error); error 709 src/machine/machined-dbus.c int manager_kill_unit(Manager *manager, const char *unit, int signo, sd_bus_error *error) { error 719 src/machine/machined-dbus.c error, error 725 src/machine/machined-dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 744 src/machine/machined-dbus.c &error, error 748 src/machine/machined-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_NO_REPLY) || error 749 src/machine/machined-dbus.c sd_bus_error_has_name(&error, SD_BUS_ERROR_DISCONNECTED)) error 752 src/machine/machined-dbus.c if (sd_bus_error_has_name(&error, BUS_ERROR_NO_SUCH_UNIT) || error 753 src/machine/machined-dbus.c sd_bus_error_has_name(&error, BUS_ERROR_LOAD_FAILED)) error 767 src/machine/machined-dbus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 780 src/machine/machined-dbus.c &error, error 784 src/machine/machined-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_NO_REPLY) || error 785 src/machine/machined-dbus.c sd_bus_error_has_name(&error, SD_BUS_ERROR_DISCONNECTED)) error 788 src/machine/machined-dbus.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_UNKNOWN_OBJECT)) error 133 src/machine/machined.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 224 src/machine/machined.c &error, error 227 src/machine/machined.c log_error("Failed to enable subscription: %s", bus_error_message(&error, r)); error 63 src/machine/machined.h int match_reloading(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 64 src/machine/machined.h int match_unit_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 65 src/machine/machined.h int match_properties_changed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 66 src/machine/machined.h int match_job_removed(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error); error 68 src/machine/machined.h int manager_start_scope(Manager *manager, const char *scope, pid_t pid, const char *slice, const char *description, sd_bus_message *more_properties, sd_bus_error *error, char **job); error 69 src/machine/machined.h int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, char **job); error 70 src/machine/machined.h int manager_kill_unit(Manager *manager, const char *unit, int signo, sd_bus_error *error); error 1468 src/nspawn/nspawn.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1488 src/nspawn/nspawn.c &error, error 1591 src/nspawn/nspawn.c r = sd_bus_call(bus, m, 0, &error, NULL); error 1595 src/nspawn/nspawn.c log_error("Failed to register machine: %s", bus_error_message(&error, r)); error 1603 src/nspawn/nspawn.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1624 src/nspawn/nspawn.c &error, error 1632 src/nspawn/nspawn.c log_debug("Failed to get machine: %s", bus_error_message(&error, r)); error 1646 src/nspawn/nspawn.c &error, error 1650 src/nspawn/nspawn.c log_debug("Failed to terminate machine: %s", bus_error_message(&error, r)); error 74 src/resolve-host/resolve-host.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 102 src/resolve-host/resolve-host.c r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); error 104 src/resolve-host/resolve-host.c log_error("%s: resolve call failed: %s", name, bus_error_message(&error, r)); error 198 src/resolve-host/resolve-host.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 252 src/resolve-host/resolve-host.c r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); error 254 src/resolve-host/resolve-host.c log_error("%s: resolve call failed: %s", pretty, bus_error_message(&error, r)); error 326 src/resolve-host/resolve-host.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 354 src/resolve-host/resolve-host.c r = sd_bus_call(bus, req, DNS_CALL_TIMEOUT_USEC, &error, &reply); error 356 src/resolve-host/resolve-host.c log_error("%s: resolve call failed: %s", name, bus_error_message(&error, r)); error 65 src/resolve/resolved-bus.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 68 src/resolve/resolved-bus.c sd_bus_error_setf(&error, _BUS_ERROR_DNS "NXDOMAIN", "'%s' not found", name); error 80 src/resolve/resolved-bus.c sd_bus_error_setf(&error, n, "Could not resolve '%s', server or network returned error %s", name, rc); error 83 src/resolve/resolved-bus.c return sd_bus_reply_method_error(q->request, &error); error 261 src/resolve/resolved-bus.c static int check_ifindex_flags(int ifindex, uint64_t *flags, sd_bus_error *error) { error 265 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); error 268 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid flags parameter"); error 276 src/resolve/resolved-bus.c static int bus_method_resolve_hostname(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 294 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown address family %i", family); error 298 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid hostname '%s'", hostname); error 300 src/resolve/resolved-bus.c r = check_ifindex_flags(ifindex, &flags, error); error 350 src/resolve/resolved-bus.c sd_bus_error_setf(error, BUS_ERROR_NO_NAME_SERVERS, "No appropriate name servers or networks for name found"); error 429 src/resolve/resolved-bus.c static int bus_method_resolve_address(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 450 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown address family %i", family); error 457 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid address size"); error 463 src/resolve/resolved-bus.c r = check_ifindex_flags(ifindex, &flags, error); error 503 src/resolve/resolved-bus.c sd_bus_error_setf(error, BUS_ERROR_NO_NAME_SERVERS, "No appropriate name servers or networks for name found"); error 601 src/resolve/resolved-bus.c static int bus_method_resolve_record(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) { error 621 src/resolve/resolved-bus.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid name '%s'", name); error 623 src/resolve/resolved-bus.c r = check_ifindex_flags(ifindex, &flags, error); error 656 src/resolve/resolved-bus.c sd_bus_error_setf(error, BUS_ERROR_NO_NAME_SERVERS, "No appropriate name servers or networks for name found"); error 51 src/resolve/resolved-dns-stream.c static int dns_stream_complete(DnsStream *s, int error) { error 57 src/resolve/resolved-dns-stream.c s->complete(s, error); error 54 src/resolve/resolved-dns-stream.h int (*complete)(DnsStream *s, int error); error 199 src/resolve/resolved-dns-transaction.c static int on_stream_complete(DnsStream *s, int error) { error 213 src/resolve/resolved-dns-transaction.c if (error != 0) { error 309 src/run/run.c static int message_start_transient_unit_send(sd_bus *bus, sd_bus_message *m, sd_bus_error *error, sd_bus_message **reply) { error 323 src/run/run.c return sd_bus_call(bus, m, 0, error, reply); error 329 src/run/run.c sd_bus_error *error) { error 450 src/run/run.c r = message_start_transient_unit_send(bus, m, error, NULL); error 462 src/run/run.c sd_bus_error *error) { error 486 src/run/run.c r = message_start_transient_unit_send(bus, m, error, NULL); error 564 src/run/run.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 603 src/run/run.c r = start_transient_scope(bus, argv + optind, &error); error 605 src/run/run.c r = start_transient_service(bus, argv + optind, &error); error 208 src/shared/barrier.c goto error; error 221 src/shared/barrier.c error: error 250 src/shared/barrier.c goto error; error 261 src/shared/barrier.c goto error; error 284 src/shared/barrier.c error: error 43 src/shared/conf-parser.c int error, const char *format, ...) { error 62 src/shared/conf-parser.c "ERRNO=%d", error > 0 ? error : EINVAL, error 71 src/shared/conf-parser.c "ERRNO=%d", error > 0 ? error : EINVAL, error 117 src/shared/conf-parser.h int error, const char *format, ...) _printf_(9, 10); error 119 src/shared/conf-parser.h #define log_syntax(unit, level, config_file, config_line, error, ...) \ error 123 src/shared/conf-parser.h error, __VA_ARGS__) error 125 src/shared/conf-parser.h #define log_invalid_utf8(unit, level, config_file, config_line, error, rvalue) { \ error 127 src/shared/conf-parser.h log_syntax(unit, level, config_file, config_line, error, \ error 315 src/socket-proxy/socket-proxyd.c int error, r; error 321 src/socket-proxy/socket-proxyd.c solen = sizeof(error); error 322 src/socket-proxy/socket-proxyd.c r = getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &solen); error 328 src/socket-proxy/socket-proxyd.c if (error != 0) { error 329 src/socket-proxy/socket-proxyd.c log_error("Failed to connect to remote host: %s", strerror(error)); error 194 src/systemctl/systemctl.c static int translate_bus_error_to_exit_status(int r, const sd_bus_error *error) { error 195 src/systemctl/systemctl.c assert(error); error 197 src/systemctl/systemctl.c if (!sd_bus_error_is_set(error)) error 200 src/systemctl/systemctl.c if (sd_bus_error_has_name(error, SD_BUS_ERROR_ACCESS_DENIED) || error 201 src/systemctl/systemctl.c sd_bus_error_has_name(error, BUS_ERROR_ONLY_BY_DEPENDENCY) || error 202 src/systemctl/systemctl.c sd_bus_error_has_name(error, BUS_ERROR_NO_ISOLATION) || error 203 src/systemctl/systemctl.c sd_bus_error_has_name(error, BUS_ERROR_TRANSACTION_IS_DESTRUCTIVE)) error 206 src/systemctl/systemctl.c if (sd_bus_error_has_name(error, BUS_ERROR_NO_SUCH_UNIT)) error 209 src/systemctl/systemctl.c if (sd_bus_error_has_name(error, BUS_ERROR_JOB_TYPE_NOT_APPLICABLE) || error 210 src/systemctl/systemctl.c sd_bus_error_has_name(error, SD_BUS_ERROR_NOT_SUPPORTED)) error 213 src/systemctl/systemctl.c if (sd_bus_error_has_name(error, BUS_ERROR_LOAD_FAILED)) error 511 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 536 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 538 src/systemctl/systemctl.c log_error("Failed to list units: %s", bus_error_message(&error, r)); error 676 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 685 src/systemctl/systemctl.c &error, error 689 src/systemctl/systemctl.c log_error("Failed to determine triggers: %s", bus_error_message(&error, r)); error 699 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 710 src/systemctl/systemctl.c &error, error 714 src/systemctl/systemctl.c log_error("Failed to get list of listening sockets: %s", bus_error_message(&error, r)); error 933 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 947 src/systemctl/systemctl.c &error, error 951 src/systemctl/systemctl.c log_error("Failed to get next elapsation time: %s", bus_error_message(&error, r)); error 961 src/systemctl/systemctl.c &error, error 965 src/systemctl/systemctl.c log_error("Failed to get next elapsation time: %s", bus_error_message(&error, r)); error 978 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 991 src/systemctl/systemctl.c &error, error 995 src/systemctl/systemctl.c log_error("Failed to get last trigger time: %s", bus_error_message(&error, r)); error 1338 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1391 src/systemctl/systemctl.c &error, error 1395 src/systemctl/systemctl.c log_error("Failed to list unit files: %s", bus_error_message(&error, r)); error 1493 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1514 src/systemctl/systemctl.c &error, error 1518 src/systemctl/systemctl.c log_error("Failed to get properties of %s: %s", name, bus_error_message(&error, r)); error 1901 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 1921 src/systemctl/systemctl.c &error, error 1925 src/systemctl/systemctl.c log_error("Failed to get default target: %s", bus_error_message(&error, -r)); error 2002 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2022 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 2024 src/systemctl/systemctl.c log_error("Failed to set default target: %s", bus_error_message(&error, -r)); error 2134 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2150 src/systemctl/systemctl.c &error, error 2154 src/systemctl/systemctl.c log_error("Failed to list jobs: %s", bus_error_message(&error, r)); error 2187 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2225 src/systemctl/systemctl.c q = sd_bus_call(bus, m, 0, &error, NULL); error 2227 src/systemctl/systemctl.c log_error("Failed to cancel job %"PRIu32": %s", id, bus_error_message(&error, q)); error 2284 src/systemctl/systemctl.c static int wait_filter(sd_bus *bus, sd_bus_message *m, void *data, sd_bus_error *error) { error 2516 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2537 src/systemctl/systemctl.c &error, error 2540 src/systemctl/systemctl.c log_error("Failed to get load state of %s: %s", n, bus_error_message(&error, r)); error 2553 src/systemctl/systemctl.c &error, error 2556 src/systemctl/systemctl.c log_error("Failed to get triggered by array of %s: %s", n, bus_error_message(&error, r)); error 2623 src/systemctl/systemctl.c sd_bus_error *error, error 2633 src/systemctl/systemctl.c assert(error); error 2655 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, error, &reply); error 2666 src/systemctl/systemctl.c log_error("Failed to %s %s: %s", verb, name, bus_error_message(error, r)); error 2825 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2828 src/systemctl/systemctl.c q = start_unit_one(bus, method, *name, mode, &error, s); error 2830 src/systemctl/systemctl.c r = translate_bus_error_to_exit_status(q, &error); error 2854 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 2895 src/systemctl/systemctl.c &error, error 2899 src/systemctl/systemctl.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 3110 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 3146 src/systemctl/systemctl.c q = sd_bus_call(bus, m, 0, &error, NULL); error 3148 src/systemctl/systemctl.c log_error("Failed to kill unit %s: %s", *names, bus_error_message(&error, q)); error 4198 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4214 src/systemctl/systemctl.c &error, error 4218 src/systemctl/systemctl.c log_error("Failed to get properties: %s", bus_error_message(&error, r)); error 4310 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4321 src/systemctl/systemctl.c &error, error 4325 src/systemctl/systemctl.c log_error("Failed to get unit for PID "PID_FMT": %s", pid, bus_error_message(&error, r)); error 4561 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4580 src/systemctl/systemctl.c &error, error 4583 src/systemctl/systemctl.c log_warning("Failed to get FragmentPath: %s", bus_error_message(&error, r)); error 4593 src/systemctl/systemctl.c &error, error 4596 src/systemctl/systemctl.c log_warning("Failed to get DropInPaths: %s", bus_error_message(&error, r)); error 4640 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4689 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, NULL); error 4691 src/systemctl/systemctl.c log_error("Failed to set unit properties on %s: %s", n, bus_error_message(&error, r)); error 4699 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4730 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 4732 src/systemctl/systemctl.c log_error("Failed to create snapshot: %s", bus_error_message(&error, r)); error 4746 src/systemctl/systemctl.c &error, error 4749 src/systemctl/systemctl.c log_error("Failed to get ID of snapshot: %s", bus_error_message(&error, r)); error 4760 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4793 src/systemctl/systemctl.c q = sd_bus_call(bus, m, 0, &error, NULL); error 4795 src/systemctl/systemctl.c log_error("Failed to remove snapshot %s: %s", *name, bus_error_message(&error, q)); error 4805 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4844 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, NULL); error 4854 src/systemctl/systemctl.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 4860 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4893 src/systemctl/systemctl.c q = sd_bus_call(bus, m, 0, &error, NULL); error 4895 src/systemctl/systemctl.c log_error("Failed to reset failed state of unit %s: %s", *name, bus_error_message(&error, q)); error 4905 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4918 src/systemctl/systemctl.c &error, error 4922 src/systemctl/systemctl.c log_error("Failed to get environment: %s", bus_error_message(&error, r)); error 4943 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 4992 src/systemctl/systemctl.c &error, error 4996 src/systemctl/systemctl.c log_error("Failed to switch root: %s", bus_error_message(&error, r)); error 5004 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5034 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, NULL); error 5036 src/systemctl/systemctl.c log_error("Failed to set environment: %s", bus_error_message(&error, r)); error 5044 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5101 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, NULL); error 5103 src/systemctl/systemctl.c log_error("Failed to import environment: %s", bus_error_message(&error, r)); error 5323 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5390 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 5392 src/systemctl/systemctl.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 5473 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5497 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 5499 src/systemctl/systemctl.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 5536 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5561 src/systemctl/systemctl.c r = sd_bus_call(bus, m, 0, &error, &reply); error 5563 src/systemctl/systemctl.c log_error("Failed to execute operation: %s", bus_error_message(&error, r)); error 5585 src/systemctl/systemctl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 5632 src/systemctl/systemctl.c &error, error 5636 src/systemctl/systemctl.c log_error("Failed to get unit file state for %s: %s", *name, bus_error_message(&error, r)); error 189 src/systemd/sd-bus.h int sd_bus_message_new_method_errno(sd_bus_message *call, sd_bus_message **m, int error, const sd_bus_error *e); error 190 src/systemd/sd-bus.h int sd_bus_message_new_method_errnof(sd_bus_message *call, sd_bus_message **m, int error, const char *format, ...) _sd_printf_(4, 5); error 278 src/systemd/sd-bus.h int sd_bus_reply_method_errno(sd_bus_message *call, int error, const sd_bus_error *e); error 279 src/systemd/sd-bus.h int sd_bus_reply_method_errnof(sd_bus_message *call, int error, const char *format, ...) _sd_printf_(3, 4); error 336 src/systemd/sd-bus.h int sd_bus_error_set_errno(sd_bus_error *e, int error); error 337 src/systemd/sd-bus.h int sd_bus_error_set_errnof(sd_bus_error *e, int error, const char *format, ...) _sd_printf_(3, 4); error 247 src/timedate/timedatectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 268 src/timedate/timedatectl.c &error, error 272 src/timedate/timedatectl.c log_error("Failed to set time: %s", bus_error_message(&error, -r)); error 278 src/timedate/timedatectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 291 src/timedate/timedatectl.c &error, error 295 src/timedate/timedatectl.c log_error("Failed to set time zone: %s", bus_error_message(&error, -r)); error 301 src/timedate/timedatectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 320 src/timedate/timedatectl.c &error, error 324 src/timedate/timedatectl.c log_error("Failed to set local RTC: %s", bus_error_message(&error, -r)); error 330 src/timedate/timedatectl.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 349 src/timedate/timedatectl.c &error, error 353 src/timedate/timedatectl.c log_error("Failed to set ntp: %s", bus_error_message(&error, -r)); error 241 src/timedate/timedated.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 251 src/timedate/timedated.c &error, error 258 src/timedate/timedated.c if (sd_bus_error_has_name(&error, SD_BUS_ERROR_FILE_NOT_FOUND)) error 277 src/timedate/timedated.c static int context_start_ntp(Context *c, sd_bus *bus, sd_bus_error *error) { error 284 src/timedate/timedated.c assert(error); error 296 src/timedate/timedated.c error, error 306 src/timedate/timedated.c error, error 311 src/timedate/timedated.c if (sd_bus_error_has_name(error, SD_BUS_ERROR_FILE_NOT_FOUND) || error 312 src/timedate/timedated.c sd_bus_error_has_name(error, "org.freedesktop.systemd1.LoadFailed") || error 313 src/timedate/timedated.c sd_bus_error_has_name(error, "org.freedesktop.systemd1.NoSuchUnit")) { error 315 src/timedate/timedated.c sd_bus_error_free(error); error 325 src/timedate/timedated.c sd_bus_error_set_const(error, "org.freedesktop.timedate1.NoNTPSupport", "NTP not supported."); error 329 src/timedate/timedated.c static int context_enable_ntp(Context*c, sd_bus *bus, sd_bus_error *error) { error 336 src/timedate/timedated.c assert(error); error 347 src/timedate/timedated.c error, error 357 src/timedate/timedated.c error, error 362 src/timedate/timedated.c if (sd_bus_error_has_name(error, SD_BUS_ERROR_FILE_NOT_FOUND)) { error 364 src/timedate/timedated.c sd_bus_error_free(error); error 377 src/timedate/timedated.c error, error 386 src/timedate/timedated.c sd_bus_error_set_const(error, "org.freedesktop.timedate1.NoNTPSupport", "NTP not supported."); error 397 src/timedate/timedated.c sd_bus_error *error) { error 412 src/timedate/timedated.c return sd_bus_error_set_errnof(error, r, "Failed to read RTC: %s", strerror(-r)); error 426 src/timedate/timedated.c sd_bus_error *error) { error 438 src/timedate/timedated.c sd_bus_error *error) { error 443 src/timedate/timedated.c static int method_set_timezone(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 459 src/timedate/timedated.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid time zone '%s'", z); error 464 src/timedate/timedated.c r = bus_verify_polkit_async(m, CAP_SYS_TIME, "org.freedesktop.timedate1.set-timezone", interactive, &c->polkit_registry, error); error 481 src/timedate/timedated.c return sd_bus_error_set_errnof(error, r, "Failed to set time zone: %s", strerror(-r)); error 508 src/timedate/timedated.c static int method_set_local_rtc(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 525 src/timedate/timedated.c r = bus_verify_polkit_async(m, CAP_SYS_TIME, "org.freedesktop.timedate1.set-local-rtc", interactive, &c->polkit_registry, error); error 537 src/timedate/timedated.c return sd_bus_error_set_errnof(error, r, "Failed to set RTC to local/UTC: %s", strerror(-r)); error 591 src/timedate/timedated.c static int method_set_time(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 604 src/timedate/timedated.c return sd_bus_error_setf(error, BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED, "Automatic time synchronization is enabled"); error 611 src/timedate/timedated.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid absolute time"); error 624 src/timedate/timedated.c return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Time value overflow"); error 630 src/timedate/timedated.c r = bus_verify_polkit_async(m, CAP_SYS_TIME, "org.freedesktop.timedate1.set-time", interactive, &c->polkit_registry, error); error 639 src/timedate/timedated.c return sd_bus_error_set_errnof(error, errno, "Failed to set local time: %m"); error 658 src/timedate/timedated.c static int method_set_ntp(sd_bus *bus, sd_bus_message *m, void *userdata, sd_bus_error *error) { error 670 src/timedate/timedated.c r = bus_verify_polkit_async(m, CAP_SYS_TIME, "org.freedesktop.timedate1.set-ntp", interactive, &c->polkit_registry, error); error 678 src/timedate/timedated.c r = context_enable_ntp(c, bus, error); error 682 src/timedate/timedated.c r = context_start_ntp(c, bus, error); error 32 src/udev/mtd_probe/mtd_probe.c int error; error 46 src/udev/mtd_probe/mtd_probe.c error = ioctl(mtd_fd, MEMGETINFO, &mtd_info); error 47 src/udev/mtd_probe/mtd_probe.c if (error == -1) { error 365 src/udev/scsi_id/scsi_serial.c goto error; error 397 src/udev/scsi_id/scsi_serial.c error: error 51 src/update-utmp/update-utmp.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 63 src/update-utmp/update-utmp.c &error, error 66 src/update-utmp/update-utmp.c log_error("Failed to get timestamp: %s", bus_error_message(&error, -r)); error 90 src/update-utmp/update-utmp.c _cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL; error 109 src/update-utmp/update-utmp.c &error, error 112 src/update-utmp/update-utmp.c log_warning("Failed to get state: %s", bus_error_message(&error, -r));