1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00
systemd-stable/src
Lennart Poettering c1093c34d7 sd-bus: fix error handling on readv()
let's make sure we collect the right error code from errno, otherwise
we'll see EPERM (i.e. error 1) for all errors readv() returns (since it
returns -1 on error), including EAGAIN.

This is definitely backport material.

A fix-up for 3691bcf3c5.

Fixes: #16699
2020-08-20 14:14:36 +02:00
..
ac-power
activate
analyze analyze-security: include an actual syscall name in the message 2020-08-17 19:48:32 +02:00
ask-password
backlight backlight: read current backlight brightness from 'actual_brightness' attribute 2020-06-30 22:19:21 +09:00
basic Merge pull request #16221 from bluca/show_microsec 2020-08-20 13:15:04 +02:00
binfmt
boot Merge pull request #16687 from DaanDeMeyer/bootloader-machine-id 2020-08-18 15:05:26 +02:00
busctl bus: use bus_log_parse_error to print message 2020-07-12 06:33:48 +09:00
cgls bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
cgroups-agent
cgtop log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
core Merge pull request #16559 from benzea/benzea/memory-recursiveprot 2020-08-20 13:05:07 +02:00
coredump coredump: port to use common add_acls_for_user() 2020-07-21 22:58:40 +02:00
cryptsetup tree-wide: enable/disable libcrypsetup debug output depending on our level 2020-08-14 15:26:04 +01:00
debug-generator
delta log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
detect-virt log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
dissect dissect: add support for outputting JSON 2020-08-12 22:39:43 +02:00
environment-d-generator
escape log: introduce log_parse_environment_cli() and log_setup_cli() 2020-06-24 16:49:26 +02:00
firstboot firstboot: hook up with libpwquality 2020-08-19 10:03:56 +02:00
fsck
fstab-generator fstab-generator: introduce an helper to write extra dependencies specified via the mount options 2020-07-01 16:35:13 +02:00
fuzz fuzz-udev-rules: -ENOBUFS should be accepted too 2020-06-25 08:51:21 +02:00
getty-generator
gpt-auto-generator service: add new RootImageOptions feature 2020-07-29 17:17:32 +01:00
hibernate-resume
home homed: default to "btrfs" as fs type in the LUKS backend 2020-08-19 15:46:07 +02:00
hostname bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
hwdb Make failures of mac_selinux_init() fatal 2020-06-23 19:10:07 +02:00
id128 table use table_log_print_error() instead of table_log_show_error 2020-07-08 15:16:52 +08:00
import tree-wide: make use of new relative time events in sd-event.h 2020-07-28 11:24:55 +02:00
initctl initctl: use _cleanup_ and run() 2020-07-02 17:12:23 +02:00
journal basic/time-util: add function to format timestamps with different styles 2020-08-19 15:30:13 +01:00
journal-remote tree-wide: use READ_FULL_FILE_CONNECT_SOCKET at various places 2020-07-21 10:32:01 +02:00
kernel-install kernel-install: Add fallback to "Linux" if no machine-id is found 2020-08-10 19:56:32 +01:00
libsystemd sd-bus: fix error handling on readv() 2020-08-20 14:14:36 +02:00
libsystemd-network Merge pull request #16596 from poettering/event-time-rel 2020-08-04 16:07:03 +02:00
libudev tree-wide: avoid some loaded terms 2020-06-25 09:00:19 +02:00
locale bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
login user-runtime-dir: deal gracefully with missing logind properties 2020-08-20 13:12:02 +02:00
machine core,home,machined: generate description fields for all groups we synthesize 2020-08-07 08:39:52 +02:00
machine-id-setup
modules-load
mount bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
network network: do not fail if UseMTU=yes on DHCP lease lost 2020-08-18 20:33:58 +02:00
notify
nspawn shared/seccomp: use _cleanup_ in one more place 2020-08-19 10:57:30 +02:00
nss-myhostname
nss-mymachines nss-mymachines: drop support for UID/GID resolving 2020-07-14 17:08:12 +02:00
nss-resolve shared: actually move all BusLocator related calls to bus-locator.c 2020-06-30 15:09:19 +02:00
nss-systemd userdb: replace recursion lock 2020-06-23 17:24:24 +02:00
partition tree-wide: enable/disable libcrypsetup debug output depending on our level 2020-08-14 15:26:04 +01:00
path sd-path: drop "-dir" and "-path" suffixes from path enums 2020-05-28 23:54:35 +02:00
portable service: add new RootImageOptions feature 2020-07-29 17:17:32 +01:00
pstore Merge pull request #16057 from keszybz/resolvectl-sorted-no-nta 2020-06-04 11:30:14 +09:00
quotacheck
random-seed random-util: add common helper random_write_entropy() for crediting entropy to the kernel's pool 2020-06-24 15:33:27 +02:00
rc-local-generator
remount-fs
reply-password
resolve resolve: lift limits on search domains count or length 2020-08-18 10:06:25 +02:00
rfkill
run bus: use bus_log_connect_error to print error message 2020-07-21 10:02:01 +09:00
run-generator
shared Merge pull request #16221 from bluca/show_microsec 2020-08-20 13:15:04 +02:00
shutdown
sleep sleep: one spelling unification 2020-07-07 10:02:02 +02:00
socket-proxy tree-wide: make use of new relative time events in sd-event.h 2020-07-28 11:24:55 +02:00
stdio-bridge tree-wide: check POLLNVAL everywhere 2020-06-10 08:57:31 +02:00
sulogin-shell
sysctl journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
system-update-generator
systemctl systemctl: add --timestamp to change timestamp print format 2020-08-19 15:30:13 +01:00
systemd _sd-common.h: avoid parsing errors with Coverity 2020-08-06 16:26:57 +02:00
sysusers sysusers: add support for a --image= switch 2020-08-05 20:34:58 +02:00
sysv-generator sysv-generator: reduce scope of variables 2020-06-24 10:38:15 +02:00
test basic/time-util: add function to format timestamps with different styles 2020-08-19 15:30:13 +01:00
time-wait-sync basic/time-util: add function to format timestamps with different styles 2020-08-19 15:30:13 +01:00
timedate Merge pull request #16624 from keszybz/timesync-retry-interval 2020-07-30 20:47:41 +02:00
timesync Merge pull request #16596 from poettering/event-time-rel 2020-08-04 16:07:03 +02:00
tmpfiles basic/time-util: add function to format timestamps with different styles 2020-08-19 15:30:13 +01:00
tty-ask-password-agent tree-wide: check POLLNVAL everywhere 2020-06-10 08:57:31 +02:00
udev Merge pull request #16596 from poettering/event-time-rel 2020-08-04 16:07:03 +02:00
update-done Make failures of mac_selinux_init() fatal 2020-06-23 19:10:07 +02:00
update-utmp initctl,update-utmp: define iterator variable in loop 2020-07-02 17:12:23 +02:00
user-sessions Make failures of mac_selinux_init() fatal 2020-06-23 19:10:07 +02:00
userdb userdb: add "description" field to group records 2020-08-07 08:39:18 +02:00
vconsole vconsole-setup: downgrade log message when setting font fails on dummy console 2020-07-20 08:15:50 +02:00
veritysetup tree-wide: enable/disable libcrypsetup debug output depending on our level 2020-08-14 15:26:04 +01:00
version
volatile-root tree-wide: add size limits for tmpfs mounts 2020-05-13 00:37:18 +02:00
xdg-autostart-generator xdg-autostart: ignore all empty entries in multi-string entries 2020-07-07 14:02:16 +02:00