/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-error.c | 23 assert_se(sd_bus_error_set(&error, SD_BUS_ERROR_NOT_SUPPORTED, "xxx") == -EOPNOTSUPP); in TEST() 151 assert_se(sd_bus_error_set(NULL, "System.Error.EUCLEAN", NULL) == -EUCLEAN); in TEST() 152 assert_se(sd_bus_error_set(NULL, "System.Error.EBUSY", NULL) == -EBUSY); in TEST() 153 assert_se(sd_bus_error_set(NULL, "System.Error.EINVAL", NULL) == -EINVAL); in TEST() 154 assert_se(sd_bus_error_set(NULL, "System.Error.WHATSIT", NULL) == -EIO); in TEST() 193 assert_se(sd_bus_error_set(NULL, "org.freedesktop.custom-dbus-error", NULL) == -5); in TEST() 194 assert_se(sd_bus_error_set(NULL, "org.freedesktop.custom-dbus-error-2", NULL) == -52); in TEST() 195 assert_se(sd_bus_error_set(NULL, "org.freedesktop.custom-dbus-error-x", NULL) == -EIO); in TEST() 196 assert_se(sd_bus_error_set(NULL, "org.freedesktop.custom-dbus-error-33", NULL) == -333); in TEST() 198 assert_se(sd_bus_error_set(NULL, "org.freedesktop.custom-dbus-error-88", NULL) == -EIO); in TEST() [all …]
|
D | bus-error.c | 214 _public_ int sd_bus_error_set(sd_bus_error *e, const char *name, const char *message) { in sd_bus_error_set() function 287 r = sd_bus_error_set(e, name, NULL); in sd_bus_error_setf()
|
/systemd-251/src/login/ |
D | logind-session-dbus.c | 259 …return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may set idle hin… in method_set_idle_hint() 263 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Idle hint control is not supported on … in method_set_idle_hint() 292 …return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may set locked h… in method_set_locked_hint() 367 …return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "Only owner of session may take control… in method_take_control() 383 …return sd_bus_error_set(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); in method_release_control() 409 …return sd_bus_error_set(error, BUS_ERROR_NOT_IN_CONTROL, "You must be in control of this session t… in method_set_type() 431 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Device major/minor is not valid."); in method_take_device() 434 …return sd_bus_error_set(error, BUS_ERROR_NOT_IN_CONTROL, "You are not in control of this session"); in method_take_device() 444 return sd_bus_error_set(error, BUS_ERROR_DEVICE_IS_TAKEN, "Device already taken"); in method_take_device() 481 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Device major/minor is not valid."); in method_release_device() [all …]
|
D | logind-dbus.c | 722 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid UID"); in method_create_session() 724 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid leader PID"); in method_create_session() 858 … return sd_bus_error_set(error, BUS_ERROR_SESSION_BUSY, "Already occupied by a session"); in method_create_session() 1891 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid flags parameter"); in method_do_shutdown_or_sleep() 1893 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Reboot via kexec is only applicable wit… in method_do_shutdown_or_sleep() 1918 return sd_bus_error_set(error, BUS_ERROR_SLEEP_VERB_NOT_SUPPORTED, in method_do_shutdown_or_sleep() 2255 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Unsupported shutdown type"); in method_schedule_shutdown() 2329 … return sd_bus_error_set(error, SD_BUS_ERROR_AUTH_FAILED, "Unsupported shutdown type"); in method_cancel_scheduled_shutdown() 2678 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Firmware does not support boot into fi… in method_set_reboot_to_firmware_setup() 2690 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Firmware does not support boot into fi… in method_set_reboot_to_firmware_setup() [all …]
|
/systemd-251/src/machine/ |
D | machine-dbus.c | 352 … return sd_bus_error_set(error, SD_BUS_ERROR_FAILED, "Child died abnormally."); in bus_machine_method_get_addresses() 357 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Requesting IP address data is only sup… in bus_machine_method_get_addresses() 436 …return sd_bus_error_set(error, SD_BUS_ERROR_FAILED, "Machine does not contain OS release informati… in bus_machine_method_get_os_release() 438 … return sd_bus_error_set(error, SD_BUS_ERROR_FAILED, "Child died abnormally."); in bus_machine_method_get_os_release() 444 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Requesting OS release data is only sup… in bus_machine_method_get_os_release() 660 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments"); in bus_machine_method_open_shell() 853 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Bind mounting is only supported on con… in bus_machine_method_bind_mount() 860 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Source path must be absolute and normal… in bus_machine_method_bind_mount() 865 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Destination path must be absolute and n… in bus_machine_method_bind_mount() 893 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Can't bind mount on container with use… in bus_machine_method_bind_mount() [all …]
|
D | machined-dbus.c | 244 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine name"); in method_create_or_register_machine() 254 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine ID parameter"); in method_create_or_register_machine() 278 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid machine class parameter"); in method_create_or_register_machine() 282 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid leader PID"); in method_create_or_register_machine() 285 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Root directory must be empty or an abso… in method_create_or_register_machine() 704 … return sd_bus_error_set(error, SD_BUS_ERROR_LIMITS_EXCEEDED, "Too many ongoing operations."); in method_clean_pool() 851 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "New limit out of range"); in method_set_pool_limit() 881 … return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Quota is only supported on btrfs."); in method_set_pool_limit() 912 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Not supported for non-container machine… in method_map_from_machine_user() 971 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Not supported for non-container machine… in method_map_from_machine_group()
|
D | operation.c | 26 r = sd_bus_error_set(&error, SD_BUS_ERROR_FAILED, "Child died abnormally."); in operation_done() 33 r = sd_bus_error_set(&error, SD_BUS_ERROR_FAILED, "Child failed."); in operation_done()
|
D | image-dbus.c | 44 … return sd_bus_error_set(error, SD_BUS_ERROR_LIMITS_EXCEEDED, "Too many ongoing operations."); in bus_image_method_remove() 162 … return sd_bus_error_set(error, SD_BUS_ERROR_LIMITS_EXCEEDED, "Too many ongoing operations."); in bus_image_method_clone() 282 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "New limit out of range"); in bus_image_method_set_limit()
|
/systemd-251/src/shared/ |
D | bus-message-util.c | 20 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); in bus_message_read_ifindex() 65 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid address size"); in bus_message_read_in_addr_auto() 102 … r = sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid DNS server address"); in bus_message_read_dns_one()
|
/systemd-251/src/core/ |
D | dbus-service.c | 112 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Adding bind mounts at runtime is only … in bus_service_method_mount() 123 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Source path must be absolute and normal… in bus_service_method_mount() 128 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Destination path must be absolute and n… in bus_service_method_mount() 150 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Unit is not of type .service"); in bus_service_method_mount() 156 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Cannot access unit execution context"); in bus_service_method_mount() 162 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Unit not running in private mount names… in bus_service_method_mount() 166 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Unit is not running"); in bus_service_method_mount()
|
D | selinux-access.c | 257 … return sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "Failed to get current context."); in mac_selinux_access_check_internal() 278 … sd_bus_error_set(error, SD_BUS_ERROR_ACCESS_DENIED, "SELinux policy denies access."); in mac_selinux_access_check_internal()
|
D | dbus-unit.c | 549 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Signal number out of range."); in bus_unit_method_kill() 675 … return sd_bus_error_set(error, BUS_ERROR_NOT_REFERENCED, "Unit has not been referenced yet."); in bus_unit_method_unref() 741 … return sd_bus_error_set(error, BUS_ERROR_NOTHING_TO_CLEAN, "No matching resources found."); in bus_unit_method_clean() 743 … return sd_bus_error_set(error, BUS_ERROR_UNIT_BUSY, "Unit is not inactive or has pending job."); in bus_unit_method_clean() 790 return sd_bus_error_set(error, BUS_ERROR_UNIT_BUSY, "Unit has a pending job."); in bus_unit_method_freezer_generic() 792 return sd_bus_error_set(error, BUS_ERROR_UNIT_INACTIVE, "Unit is inactive."); in bus_unit_method_freezer_generic() 1477 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Process migration not available on non-… in bus_unit_method_attach_processes() 1480 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Unit is not active, refusing."); in bus_unit_method_attach_processes() 1967 … return sd_bus_error_set(error, BUS_ERROR_BAD_UNIT_SETTING, "Bad marker syntax."); in bus_unit_set_live_property() 2036 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Exit status must be in range 0…255 or n… in bus_set_transient_exit_status() [all …]
|
D | dbus-execute.c | 2260 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Log level value out of range"); in bus_exec_context_set_transient_property() 2277 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Log facility value out of range"); in bus_exec_context_set_transient_property() 2294 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Log namespace name not valid"); in bus_exec_context_set_transient_property() 2340 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Journal field contains zero byte"); in bus_exec_context_set_transient_property() 2344 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Journal field contains no '=' character… in bus_exec_context_set_transient_property() 2346 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Journal field invalid"); in bus_exec_context_set_transient_property() 2363 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Journal field is not valid UTF-8"); in bus_exec_context_set_transient_property() 2843 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "WorkingDirectory= expects an absolute p… in bus_exec_context_set_transient_property() 2872 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid file descriptor name"); in bus_exec_context_set_transient_property() 3024 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment block."); in bus_exec_context_set_transient_property() [all …]
|
D | dbus-cgroup.c | 527 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Delegation not available for unit type"… in bus_cgroup_set_transient_property() 546 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Delegation not available for unit type"… in bus_cgroup_set_transient_property() 1126 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "CPUQuotaPerSecUSec= value out of range"… in bus_cgroup_set_property() 1305 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "IODeviceWeight= value out of range"); in bus_cgroup_set_property() 1553 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "BlockIODeviceWeight= out of range"); in bus_cgroup_set_property() 1646 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "DeviceAllow= requires device node or pa… in bus_cgroup_set_property() 1651 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "DeviceAllow= requires combination of rw… in bus_cgroup_set_property()
|
D | dbus-scope.c | 140 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Sorry, Controller= logic only supporte… in bus_scope_set_transient_property()
|
D | dbus-manager.c | 488 … return sd_bus_error_set(error, BUS_ERROR_NO_SUCH_UNIT, "Client not member of any unit."); in bus_get_unit_by_name() 612 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid invocation ID"); in method_get_unit_by_invocation_id() 1342 … return sd_bus_error_set(error, BUS_ERROR_ALREADY_SUBSCRIBED, "Client is already subscribed."); in method_subscribe() 1366 … return sd_bus_error_set(error, BUS_ERROR_NOT_SUBSCRIBED, "Client is not subscribed."); in method_unsubscribe() 1416 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Support for snapshots has been removed… in method_refuse_snapshot() 1727 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid environment assignments"); in method_set_environment() 1832 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "ExitCode can only be set for user serv… in method_set_exit_code()
|
/systemd-251/src/home/ |
D | homed-home.c | 598 …return sd_bus_error_set(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type cannot be shrun… in convert_worker_errno() 600 …return sd_bus_error_set(error, BUS_ERROR_BAD_HOME_SIZE, "File systems of this type can only be shr… in convert_worker_errno() 602 … return sd_bus_error_set(error, BUS_ERROR_BAD_HOME_SIZE, "File system size too small"); in convert_worker_errno() 604 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "System does not support selected stora… in convert_worker_errno() 606 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "System does not support selected file … in convert_worker_errno() 608 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Operation not supported on storage bac… in convert_worker_errno() 610 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Operation not supported on file system… in convert_worker_errno() 618 … return sd_bus_error_set(error, BUS_ERROR_TOKEN_PIN_NEEDED, "PIN for security token required."); in convert_worker_errno() 620 …return sd_bus_error_set(error, BUS_ERROR_TOKEN_PROTECTED_AUTHENTICATION_PATH_NEEDED, "Security tok… in convert_worker_errno() 622 …return sd_bus_error_set(error, BUS_ERROR_TOKEN_USER_PRESENCE_NEEDED, "Security token requires pres… in convert_worker_errno() [all …]
|
D | homed-bus.c | 62 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "JSON data is not a valid identity recor… in bus_message_read_home_record()
|
D | user-record-util.c | 1374 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Cannot manage anything but regular user… in user_record_is_supported() 1377 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "User record has storage type this servi… in user_record_is_supported() 1380 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "User record has to have matching UID/GI… in user_record_is_supported() 1383 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Not accepted with service not matching … in user_record_is_supported()
|
/systemd-251/src/portable/ |
D | portabled-operation.c | 25 r = sd_bus_error_set(&error, SD_BUS_ERROR_FAILED, "Child died abnormally."); in operation_done() 32 r = sd_bus_error_set(&error, SD_BUS_ERROR_FAILED, "Child failed."); in operation_done()
|
D | portabled-bus.c | 381 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "New limit out of range"); in method_set_pool_limit() 401 … return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Quota is only supported on btrfs."); in method_set_pool_limit()
|
/systemd-251/src/locale/ |
D | localed.c | 401 return sd_bus_error_set(error, SD_BUS_ERROR_FAILED, "Failed to read locale data"); in method_set_locale() 675 … return sd_bus_error_set(error, SD_BUS_ERROR_FAILED, "Failed to read x11 keyboard layout data"); in method_set_x11_keyboard() 688 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Received invalid keyboard data"); in method_set_x11_keyboard() 696 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Local keyboard configuration not suppo… in method_set_x11_keyboard() 698 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Specified keymap cannot be compiled, re… in method_set_x11_keyboard()
|
/systemd-251/src/timedate/ |
D | timedated.c | 839 …return sd_bus_error_set(error, BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED, "Previous request is not fin… in method_set_time() 846 …return sd_bus_error_set(error, BUS_ERROR_AUTOMATIC_TIME_SYNC_ENABLED, "Automatic time synchronizat… in method_set_time() 856 return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid absolute time"); in method_set_time() 869 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Time value overflow"); in method_set_time() 938 return sd_bus_error_set(error, BUS_ERROR_NO_NTP_SUPPORT, "NTP not supported"); in method_set_ntp()
|
/systemd-251/src/resolve/ |
D | resolved-bus.c | 370 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid flags parameter"); in validate_and_mangle_flags() 491 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); in bus_method_resolve_hostname() 652 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); in bus_method_resolve_address() 809 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); in bus_method_resolve_record() 820 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Zone transfers not permitted via this … in bus_method_resolve_record() 1329 … return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid interface index"); in bus_method_resolve_service() 1351 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Service name cannot be specified withou… in bus_method_resolve_service() 1913 …return sd_bus_error_set(error, SD_BUS_ERROR_NOT_SUPPORTED, "Support for MulticastDNS is disabled"); in bus_method_register_service() 1980 …return sd_bus_error_set(error, SD_BUS_ERROR_INVALID_ARGS, "Keys in DNS-SD TXT RRs can't be empty"); in bus_method_register_service()
|
/systemd-251/src/hostname/ |
D | hostnamed.c | 945 …return sd_bus_error_set(error, BUS_ERROR_FILE_IS_PROTECTED, "Not allowed to update /etc/hostname."… in method_set_static_hostname() 947 …return sd_bus_error_set(error, BUS_ERROR_READ_ONLY_FILESYSTEM, "/etc/hostname is in a read-only fi… in method_set_static_hostname() 1025 …return sd_bus_error_set(error, BUS_ERROR_FILE_IS_PROTECTED, "Not allowed to update /etc/machine-in… in set_machine_info() 1027 …return sd_bus_error_set(error, BUS_ERROR_READ_ONLY_FILESYSTEM, "/etc/machine-info is in a read-onl… in set_machine_info() 1104 return sd_bus_error_set(error, BUS_ERROR_NO_PRODUCT_UUID, in method_get_product_uuid()
|