Re: [PATCH 4/7] termios: consolidate values for VDISCARD in INIT_C_CC

From: Al Viro
Date: Sat Aug 20 2022 - 14:27:29 EST


On Sat, Aug 20, 2022 at 11:01:26AM -0700, Linus Torvalds wrote:
> On Fri, Aug 19, 2022 at 8:37 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > However, util-linux still resets it to ^O on any architecture,
> > ^O is the historical value, kernel ignores it anyway and finally,
> > Linus said "Just change everybody to do the same, nobody cares
> > about VDISCARD".
>
> Heh. Grepping for DISCARD_CHAR() shows that there literally doesn't
> seem to be any user.
>
> I guess some user space program could care what the initial value is,
> but it seems very unlikely.

Quite, especially since those programs would have to run before
getty gets a chance to reset the sucker to ^O...