Commit graph

6 commits

Author SHA1 Message Date
Ariadne Conill
941d7c51d7 implement execution timeouts for executors
Previously, it was possible for an executor to hang forever.  To mitigate
this, we now implement process execution timeouts for executors, by looping
with waitpid(..., WNOHANG) and sleeping.

This could be implemented more efficiently with process descriptors, see
pidfd_open(2), but that interface is Linux-specific and is only available
on Linux 5.3 or newer.
2021-09-19 13:05:12 -05:00
Ariadne Conill
b514d31c26 ifupdown: implement --force 2020-09-08 19:17:00 -06:00
Ariadne Conill
72ad50213f cmd: fix regression with ifdown -f handling
Alpine #11887
2020-08-24 02:19:01 -06:00
A. Wilcox
327e738a55
Refactor how options are handled 2020-08-17 14:59:19 -05:00
Ariadne Conill
f6d9f65248 ifquery: port to use option groups 2020-08-11 23:03:55 -06:00
Ariadne Conill
fdfe8ac080 multicall: migrate execution options to common code 2020-08-11 22:52:15 -06:00