[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f6b331e1-14ff-040b-be2c-8f1a696a721e@landley.net>
Date: Thu, 1 Aug 2019 07:44:30 -0500
From: Rob Landley <rob@...dley.net>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arseny Maslennikov <ar@...msu.ru>
Cc: Jiri Slaby <jslaby@...e.com>, Ingo Molnar <mingo@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
"Vladimir D. Seleznev" <vseleznv@...linux.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH v2 7/7] n_tty: Provide an informational line on VSTATUS
receipt
On 8/1/19 4:20 AM, Greg Kroah-Hartman wrote:
>> SysRq is system-wide, whereas this is per-terminal and only cares about
>> one tty which the status char is pressed at and its foreground pgrp
>> (most likely it's the foreground shell job).
>>
>> I hope this is clear enough.
>
> It is, yes. My big objection is the crazy code I point out above, as
> well as the "create a totally new interface when we might be able to use
> an existing one" that you need to convince me is really required :)
It's not a new interface, it's a multiple decades old BSD interface our
tcgetattr man page already mentions, which seems to be one of the big things BSD
people miss when using Linux, and which I tried and failed to implement without
kernel support months ago.
I wasn't involved in this kernel patch effort, I got pointed at news coverage
about it by the Android Bionic maintainer:
http://lists.landley.net/pipermail/toybox-landley.net/2019-June/010536.html
Which is how I wound up cc'd on this thread.
I don't think Android specifically cares about SIGINFO, but they're trying to
support building Android on MacOSX, which means trying to support building it on
FreeBSD, which involves outreach to the BSD community, and they brought up the
lack of ctrl-T and siginfo as a thing they really missed when having to deal
with the Linux command line.
(The fact there _was_ news coverage of the patch for somebody to point me at may
also be an indication of interest floating around out there...)
Rob
Powered by blists - more mailing lists