summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-event.h
diff options
context:
space:
mode:
authorMichal Sekletár <msekleta@redhat.com>2020-04-09 11:14:25 +0200
committerMichal Sekletár <msekleta@redhat.com>2020-06-05 11:09:17 +0200
commite209926778267cbd3e09ed8137bf45b7f370aed0 (patch)
treea451fd2c7e0758ddc408738c5ddfedd42a225328 /src/udev/udev-event.h
parentMerge pull request #15991 from keszybz/uids-gids-only-decimal (diff)
downloadsystemd-e209926778267cbd3e09ed8137bf45b7f370aed0.tar.xz
systemd-e209926778267cbd3e09ed8137bf45b7f370aed0.zip
udev: make signal that we use to kill workers on timeout configurable
Diffstat (limited to 'src/udev/udev-event.h')
-rw-r--r--src/udev/udev-event.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/udev/udev-event.h b/src/udev/udev-event.h
index a05e125259..a78cea440d 100644
--- a/src/udev/udev-event.h
+++ b/src/udev/udev-event.h
@@ -54,13 +54,15 @@ ssize_t udev_event_apply_format(UdevEvent *event,
int udev_check_format(const char *value, size_t *offset, const char **hint);
int udev_event_spawn(UdevEvent *event,
usec_t timeout_usec,
+ int timeout_signal,
bool accept_failure,
const char *cmd, char *result, size_t ressize);
int udev_event_execute_rules(UdevEvent *event,
usec_t timeout_usec,
+ int timeout_signal,
Hashmap *properties_list,
UdevRules *rules);
-void udev_event_execute_run(UdevEvent *event, usec_t timeout_usec);
+void udev_event_execute_run(UdevEvent *event, usec_t timeout_usec, int timeout_signal);
static inline usec_t udev_warn_timeout(usec_t timeout_usec) {
return DIV_ROUND_UP(timeout_usec, 3);