Home
last modified time | relevance | path

Searched refs:strerror_safe (Results 1 – 22 of 22) sorted by relevance

/systemd-251/src/home/
Dpam_systemd_home.c211 … pam_syslog(handle, LOG_ERR, "Failed to parse JSON user record: %s", strerror_safe(r)); in acquire_user_record()
221 pam_syslog(handle, LOG_ERR, "Failed to load user record: %s", strerror_safe(r)); in acquire_user_record()
323 … pam_syslog(handle, LOG_ERR, "Failed to store password: %s", strerror_safe(r)); in handle_generic_user_record_error()
350 … pam_syslog(handle, LOG_ERR, "Failed to store recovery key: %s", strerror_safe(r)); in handle_generic_user_record_error()
376 … pam_syslog(handle, LOG_ERR, "Failed to store password: %s", strerror_safe(r)); in handle_generic_user_record_error()
396 pam_syslog(handle, LOG_ERR, "Failed to store PIN: %s", strerror_safe(r)); in handle_generic_user_record_error()
408 …G_ERR, "Failed to set PKCS#11 protected authentication path permitted flag: %s", strerror_safe(r)); in handle_generic_user_record_error()
420 …_syslog(handle, LOG_ERR, "Failed to set FIDO2 user presence permitted flag: %s", strerror_safe(r)); in handle_generic_user_record_error()
432 …log(handle, LOG_ERR, "Failed to set FIDO2 user verification permitted flag: %s", strerror_safe(r)); in handle_generic_user_record_error()
458 pam_syslog(handle, LOG_ERR, "Failed to store PIN: %s", strerror_safe(r)); in handle_generic_user_record_error()
[all …]
/systemd-251/src/test/
Dtest-sleep.c112 log_info("Suspend configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
114 log_info("Hibernation configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
116 log_info("Hybrid-sleep configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
118 …_info("Suspend-then-Hibernate configured and possible: %s", r >= 0 ? yes_no(r) : strerror_safe(r)); in TEST()
Dtest-calendarspec.c30 log_info("Next: %s", r < 0 ? strerror_safe(r) : FORMAT_TIMESTAMP(u)); in _test_one()
63 log_info("At: %s", r < 0 ? strerror_safe(r) : FORMAT_TIMESTAMP_STYLE(u, TIMESTAMP_US)); in _test_next()
107 …log_info("Next hourly: %s (%"PRIu64")", r < 0 ? strerror_safe(r) : FORMAT_TIMESTAMP_STYLE(u, TIMES… in TEST()
110 …log_info("Next hourly: %s (%"PRIu64")", r < 0 ? strerror_safe(r) : FORMAT_TIMESTAMP_STYLE(w, TIMES… in TEST()
Dtest-tmpfile-util.c15 …s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect), r, ret, strerror_safe(ret)); in test_tempfn_random_one()
58 …s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect), r, ret, strerror_safe(ret)); in test_tempfn_xxxxxx_one()
Dtest-path-util.c785 strnull(output), ret < 0 ? strerror_safe(ret) : "-"); in test_path_extract_filename_one()
829 strnull(output), strerror_safe(ret)); in test_path_extract_directory_one()
/systemd-251/src/shared/
Dpam-util.c20 pam_syslog(handle, LOG_ERR, "Failed to create bus message: %s", strerror_safe(r)); in pam_bus_log_create_error()
26 pam_syslog(handle, LOG_ERR, "Failed to parse bus message: %s", strerror_safe(r)); in pam_bus_log_parse_error()
54 … pam_syslog(handle, LOG_ERR, "Failed to connect to system bus: %s", strerror_safe(r)); in pam_acquire_bus_connection()
Djournal-importer.c433 strerror_safe(ENOMEM)); in journal_importer_push_data()
/systemd-251/src/login/
Dpam_systemd.c136 … pam_syslog(handle, LOG_ERR, "Failed to parse JSON user record: %s", strerror_safe(r)); in acquire_user_record()
146 … pam_syslog(handle, LOG_ERR, "Failed to load user record: %s", strerror_safe(r)); in acquire_user_record()
161 … pam_syslog(handle, LOG_ERR, "Failed to get user record: %s", strerror_safe(r)); in acquire_user_record()
167 … pam_syslog(handle, LOG_ERR, "Failed to format user JSON: %s", strerror_safe(r)); in acquire_user_record()
496 …syslog(handle, LOG_ERR, "Failed to stat() runtime directory '%s': %s", path, strerror_safe(errno)); in validate_runtime_directory()
628 …le, LOG_ERR, "Failed to set nice level to %i, ignoring: %s", ur->nice_level, strerror_safe(errno)); in apply_user_record_settings()
640 … LOG_ERR, "Failed to set resource limit %s, ignoring: %s", rlimit_to_string(rl), strerror_safe(r)); in apply_user_record_settings()
Dlogind-seat.c394 … log_error("Failed to read current console: %s", k < 0 ? strerror_safe(errno) : "EOF"); in seat_read_active_vt()
/systemd-251/src/basic/
Derrno-util.h57 static inline const char *strerror_safe(int error) { in strerror_safe() function
/systemd-251/src/core/
Dselinux-access.c164 …ror, SD_BUS_ERROR_ACCESS_DENIED, "Failed to open the SELinux AVC: %s", strerror_safe(saved_errno)); in access_init()
Dunit-serialize.c849 fprintf(f, "%s\tLoad Error Code: %s\n", prefix, strerror_safe(u->load_error)); in unit_dump()
Dsocket.c747 t = strerror_safe(r); in socket_dump()
Dcgroup.c406 (void) snprintf(buf, l, " (error getting kernel value: %s)", strerror_safe(r)); in format_cgroup_memory_limit_comparison()
Dexecute.c6444 prefix, cmd ?: strerror_safe(ENOMEM)); in exec_command_dump()
/systemd-251/src/journal-remote/
Djournal-gatewayd.c258 … log_error("Failed to read from file: %s", errno != 0 ? strerror_safe(errno) : "Premature EOF"); in request_reader_entries()
606 … log_error("Failed to read from file: %s", errno != 0 ? strerror_safe(errno) : "Premature EOF"); in request_reader_fields()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-chat.c311 … log_error("Failed to read from pipe: %s", errno != 0 ? strerror_safe(errno) : "early read"); in client1()
Dbus-error.c601 return strerror_safe(error); in bus_error_message()
Dtest-bus-error.c102 assert_se(streq(error.message, strerror_safe(EBUSY))); in TEST()
/systemd-251/src/journal/
Djournalctl.c1519 const char *reason = (r == 0) ? "No such boot ID in journal" : strerror_safe(r); in add_boot()
Djournald-server.c1098 xsprintf(buf, "MESSAGE=Entry printing failed: %s", strerror_safe(r)); in server_driver_message()
/systemd-251/src/systemctl/
Dsystemctl-show.c674 printf(" Error: %i (%s)\n", i->status_errno, strerror_safe(i->status_errno)); in print_status_info()