Re: runit SIGPWR support

From: Jeff <>
Date: Mon, 16 Mar 2020 18:13:24 +0100

25.02.2020, 10:08, "Jonathan de Boyne Pollard" <>:
> Yes. First: This is a kernel virtual terminal thing not a console
> thing. Strictly speaking, it is doing it wrongly to access it through
> the console device, which is not necessarily a KVT. Second: The
> mechanism does not require an open file descriptor. It requires that
> the target process never terminate, because there's no symmetrical
> kernel API function to disable the mechanism once it has been enabled,
> but it does not require that that process have any particular file
> descriptors open.

how is all this handled on the BSDs ?

their inits do not provide configuration hooks like the "ctrlaltdel"
and "kbrequest" inittab stanzas. does that mean there exist no
BSD equivalents for the "secure attention key" and "keyboard request"
Linux events ? or are the corresponding responses just hardcoded into
their inits and cannot be altered by configuration ?

do the BSD kernels signal process #1 on occurence of certain events ?
do they even know events triggered by user input on the console ?
Received on Mon Mar 16 2020 - 17:13:24 UTC

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