mirror of
https://github.com/systemd/systemd.git
synced 2024-11-05 23:51:28 +03:00
3210a72ba3
udevd uses a rather old-fashioned way of handling signals while waiting for input through select (ie by using an unnamed pipe, to which the signal handler writes one byte for every signal received). This is rather awkward and may potentially even block if we receive more signals than the kernel's pipe buffer. This patch replaces all of that with ppoll, which was designed for this purpose. It also removes the SA_RESTART flag from all installed signal handlers, because otherwise the ppoll call would just be restarted after handling eg a SIGCHLD. Signed-off-by: Olaf Kirch <okir@suse.de> |
||
---|---|---|
.. | ||
lib | ||
.gitignore | ||
Makefile.am | ||
test-udev.c | ||
udev-event.c | ||
udev-node.c | ||
udev-rules.c | ||
udev-selinux.c | ||
udev-sysdeps.h | ||
udev-util.c | ||
udev.h | ||
udev.xml | ||
udevadm-control.c | ||
udevadm-info.c | ||
udevadm-monitor.c | ||
udevadm-settle.c | ||
udevadm-test.c | ||
udevadm-trigger.c | ||
udevadm.c | ||
udevadm.xml | ||
udevd.c | ||
udevd.xml |