Re: runit SIGPWR support

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Mon, 16 Mar 2020 18:03:24 +0000

>will the setting achieved by this very ioctl() call survive after
>exec()ing into another binary (s6-svscan/stage 2) ?

  Testing on s6-linux-init 1.0.4.0 shows that a SIGWINCH is sent to
s6-svscan on kbrequest after s6-linux-init has performed the ioctl.
So, the answer seems to be yes.

  Having device state changes not survive execve() would be a very
unfriendly, un-Unixy design. I don't doubt there are some of those
out there, but apparently this isn't one of them.

--
  Laurent
Received on Mon Mar 16 2020 - 18:03:24 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC