[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YdTI16ZxFFNco7rH@mit.edu>
Date: Tue, 4 Jan 2022 17:23:19 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Walt Drummond <walt@...mmond.us>, aacraid@...rosemi.com,
viro@...iv.linux.org.uk, anna.schumaker@...app.com, arnd@...db.de,
bsegall@...gle.com, bp@...en8.de, chuck.lever@...cle.com,
bristot@...hat.com, dave.hansen@...ux.intel.com,
dwmw2@...radead.org, dietmar.eggemann@....com, dinguyen@...nel.org,
geert@...ux-m68k.org, gregkh@...uxfoundation.org, hpa@...or.com,
idryomov@...il.com, mingo@...hat.com, yzaikin@...gle.com,
ink@...assic.park.msu.ru, jejb@...ux.ibm.com, jmorris@...ei.org,
bfields@...ldses.org, jlayton@...nel.org, jirislaby@...nel.org,
john.johansen@...onical.com, juri.lelli@...hat.com,
keescook@...omium.org, mcgrof@...nel.org,
martin.petersen@...cle.com, mattst88@...il.com, mgorman@...e.de,
oleg@...hat.com, pbonzini@...hat.com, peterz@...radead.org,
rth@...ddle.net, richard@....at, serge@...lyn.com,
rostedt@...dmis.org, tglx@...utronix.de,
trond.myklebust@...merspace.com, vincent.guittot@...aro.org,
x86@...nel.org, linux-kernel@...r.kernel.org,
ceph-devel@...r.kernel.org, kvm@...r.kernel.org,
linux-alpha@...r.kernel.org, linux-arch@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-m68k@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-nfs@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [RFC PATCH 0/8] signals: Support more than 64 signals
On Tue, Jan 04, 2022 at 04:05:26PM -0600, Eric W. Biederman wrote:
>
> That is all as expected, and does not demonstrate a regression would
> happen if SIGPWR were to treat SIG_DFL as SIG_IGN, as SIGWINCH, SIGCONT,
> SIGCHLD, SIGURG do. It does show there is the possibility of problems.
>
> The practical question is does anything send SIGPWR to anything besides
> init, and expect the process to handle SIGPWR or terminate?
So if I *cared* about SIGINFO, what I'd do is ask the systemd
developers and users list if there are any users of the sigpwr.target
feature that they know of. And I'd also download all of the open
source UPS monitoring applications (and perhaps documentation of
closed-source UPS applications, such as for example APC's program) and
see if any of them are trying to send the SIGPWR signal.
I don't personally think it's worth the effort to do that research,
but maybe other people care enough to do the work.
> > I claim, though, that we could implement VSTATUS without implenting
> > the SIGINFO part of the feature.
>
> I agree that is the place to start. And if we aren't going to use
> SIGINFO perhaps we could have an equally good notification method
> if anyone wants one. Say call an ioctl and get an fd that can
> be read when a VSTATUS request comes in.
>
> SIGINFO vs SIGCONT vs a fd vs something else is something we can sort
> out when people get interested in modifying userspace.
Once VSTATUS support lands in the kernel, we can wait and see if there
is anyone who shows up wanting the SIGINFO functionality. Certainly
we have no shortage of userspace notification interfaces in Linux. :-)
- Ted
Powered by blists - more mailing lists