From ca8d2c96ea09cb33ff6fef33c0314c24fc6a026a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 9 Dec 2020 18:19:21 +0000 Subject: Make it work with the new s6. Add s6-linux-init-nuke. --- src/misc/deps-exe/s6-linux-init-nuke | 0 src/misc/s6-linux-init-nuke.c | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 src/misc/deps-exe/s6-linux-init-nuke create mode 100644 src/misc/s6-linux-init-nuke.c (limited to 'src/misc') diff --git a/src/misc/deps-exe/s6-linux-init-nuke b/src/misc/deps-exe/s6-linux-init-nuke new file mode 100644 index 0000000..e69de29 diff --git a/src/misc/s6-linux-init-nuke.c b/src/misc/s6-linux-init-nuke.c new file mode 100644 index 0000000..93326e5 --- /dev/null +++ b/src/misc/s6-linux-init-nuke.c @@ -0,0 +1,8 @@ +/* ISC license. */ + +#include + +int main (void) +{ + return kill(-1, SIGKILL) < 0 ; +} -- cgit v1.2.3