1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/src
Lennart Poettering c55ae51e77 manager: don't ever busy loop when we get a notification message we can't process
If the kernel doesn't permit us to dequeue/process an incoming notification
datagram message it's still better to stop processing the notification messages
altogether than to enter a busy loop where we keep getting notified but can't
do a thing about it.

With this change, manager_dispatch_notify_fd() behaviour is changed like this:

- if an error indicating a spurious wake-up is seen on recvmsg(), ignore it
  (EAGAIN/EINTR)

- if any other error is seen on recvmsg() propagate it, thus disabling
  processing of further wakeups

- if any error is seen on later code in the function, warn about it but do not
  propagate it, as in this cas we're not going to busy loop as the offending
  message is already dequeued.
2016-10-07 12:08:51 +02:00
..
ac-power
activate activate: improve SIGCHLD handler 2016-04-05 14:34:04 +00:00
analyze analyze-verify: honour $SYSTEMD_UNIT_PATH, allow system paths to be ignored 2016-10-01 22:53:17 +02:00
ask-password ask-password: add option --no-output to not print password to stdout 2016-03-01 19:02:11 +01:00
backlight systemctl,networkctl,busctl,backlight: use STRPTR_IN_SET 2016-09-24 20:22:05 -04:00
basic user-util: rework maybe_setgroups() a bit 2016-10-06 19:04:10 +02:00
binfmt
boot bootctl: properly skip duplicate entries (#4048) 2016-08-30 16:50:19 +02:00
cgls core: rename cg_unified() to cg_all_unified() 2016-08-15 18:13:36 -04:00
cgroups-agent tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
cgtop core: rename cg_unified() to cg_all_unified() 2016-08-15 18:13:36 -04:00
core manager: don't ever busy loop when we get a notification message we can't process 2016-10-07 12:08:51 +02:00
coredump coredump,catalog: give better notice when a core file is truncated 2016-09-28 23:50:29 +02:00
cryptsetup cryptsetup: do not 'fail' if trying to detach a nonexistent device 2016-04-01 20:51:20 +02:00
dbus1-generator Ensure kdbus isn't used (#3501) 2016-06-18 17:24:23 -04:00
debug-generator
delta tree-wide: rename draw_special_char to special_glyph 2016-05-09 15:17:57 -04:00
detect-virt
escape
firstboot tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate 2016-07-22 12:38:08 +02:00
fsck tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
fstab-generator Use "return log_error_errno" in more places" 2016-07-22 21:25:09 -04:00
getty-generator
gpt-auto-generator Merge pull request #3757 from poettering/efi-search 2016-07-25 16:34:18 -04:00
hibernate-resume
hostname tree-wide: remove consecutive duplicate words in comments 2016-10-04 17:06:25 +02:00
hwdb hwdb: store file-name and file-number with properties 2016-09-21 15:18:28 +02:00
import importd/export-raw: needs missing.h for O_TMPFILE 2016-08-29 12:40:22 +02:00
initctl tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
journal journald, ratelimit: fix inaccurate message suppression in journal_rate_limit_test() (#4291) 2016-10-06 11:44:51 +02:00
journal-remote journal-remote: fix error format string 2016-09-24 21:46:48 -04:00
kernel-install kernel-install: allow plugins to terminate the procedure (#4174) 2016-09-24 09:03:54 -04:00
libsystemd sd-bus: add DNS errors to the errno translation table 2016-10-06 19:04:10 +02:00
libsystemd-network Various fixes for typos found by lintian (#3705) 2016-07-12 12:52:11 +02:00
libudev libudev: fix typo in comment 2016-08-19 11:43:58 +10:00
locale tree-wide: use %m in calls to sd_bus_error_set_errnof 2016-09-13 20:10:57 -04:00
login tree-wide: remove consecutive duplicate words in comments 2016-10-04 17:06:25 +02:00
machine machinectl: prefer user@ to --uid=user for shell (#4006) 2016-09-26 11:45:31 -04:00
machine-id-setup machine-id-setup: add new --print switch 2016-07-22 12:59:36 +02:00
modules-load
mount mount-tool: return 0 instead of NULL in the acquire_description() (#4009) 2016-08-22 02:14:23 -04:00
network networkd: fix coding style (#4294) 2016-10-06 11:45:07 +02:00
notify
nspawn tree-wide: drop some misleading compiler warnings 2016-10-06 19:04:10 +02:00
nss-myhostname treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
nss-mymachines nss-mymachines: avoid connecting to dbus from inside dbus-daemon 2016-08-19 00:52:00 +02:00
nss-resolve nss-resolve: return NOTFOUND instead of UNAVAIL on resolution errors 2016-10-01 16:59:06 +02:00
nss-systemd core: bypass dynamic user lookups from dbus-daemon 2016-08-19 00:50:24 +02:00
path
quotacheck
random-seed
rc-local-generator
remount-fs
reply-password tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
resolve tree-wide: drop some misleading compiler warnings 2016-10-06 19:04:10 +02:00
rfkill
run execute: move suppression of HOME=/ and SHELL=/bin/nologin into user-util.c 2016-09-25 10:18:57 +02:00
shared seccomp: add support for the s390 architecture (#4287) 2016-10-05 13:58:55 +02:00
sleep
socket-proxy tree-wide: introduce new SOCKADDR_UN_LEN() macro, and use it everywhere 2016-05-05 22:24:36 +02:00
stdio-bridge stdio-bridge: Correctly propagate error 2016-02-29 10:45:34 +01:00
sysctl sysctl: configure kernel parameters in the order they occur in each sysctl configuration files (#4205) 2016-09-24 08:56:07 -04:00
system-update-generator
systemctl systemctl: Add --wait option to wait until started units terminate again 2016-10-01 17:58:59 +02:00
systemd coredump,catalog: give better notice when a core file is truncated 2016-09-28 23:50:29 +02:00
sysusers sysusers: move various user credential validity checks to src/basic/ 2016-07-22 15:53:45 +02:00
sysv-generator sysv-generator: better error reporting (#3977) 2016-08-17 20:11:27 +02:00
test list: LIST_INSERT_BEFORE: update head if necessary (#4261) 2016-10-04 16:15:37 +02:00
timedate Add enable_disable() helper 2016-07-31 22:48:22 -04:00
timesync tree-wide: rename config_parse_many to …_nulstr 2016-09-16 10:32:03 -04:00
tmpfiles Use "return log_error_errno" in more places" 2016-07-22 21:25:09 -04:00
tty-ask-password-agent ask-password: ask for passphrases not only on the first console of /dev/console 2016-05-24 11:57:27 +02:00
udev sd-device/networkd: unify code to get a socket for issuing netdev ioctls on 2016-10-06 19:04:01 +02:00
update-done update-done, condition: write the timestamp to the file as well and use it to prevent false-positives 2016-09-15 06:36:42 +03:00
update-utmp
user-sessions selinux: always try to load the full selinux db 2016-03-01 20:39:30 -05:00
vconsole treewide: fix typos (#4217) 2016-09-26 11:32:47 +02:00
.gitignore
Makefile