summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-test.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-02 17:07:21 +0200
committerTom Gundersen <teg@jklm.no>2015-06-03 01:41:34 +0200
commit8314de1d815667b0289423d7e6bfbe8d83759077 (patch)
tree445eebd933125101a20288e24f4229290fa28d98 /src/udev/udevadm-test.c
parenta39423c2ef31636a0d22a22a7eec5fd0036b807e (diff)
udevd: simplify signal mask handling
We used to block all signals, and restore the original signal mask before exec'ing external processes. Now we just block the signals we care about and unconditionally unblock all signals before exec'ing.
Diffstat (limited to 'src/udev/udevadm-test.c')
-rw-r--r--src/udev/udevadm-test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c
index 46ec0e3225..d04e618d0d 100644
--- a/src/udev/udevadm-test.c
+++ b/src/udev/udevadm-test.c
@@ -135,8 +135,7 @@ static int adm_test(struct udev *udev, int argc, char *argv[]) {
udev_event_execute_rules(event,
60 * USEC_PER_SEC, 20 * USEC_PER_SEC,
NULL,
- rules,
- &sigmask_orig);
+ rules);
udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev))
printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry));