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