On Tue, 23 Apr 2024 at 08:26, Tetsuo Handa wrote: > > On 2024/04/22 1:04, Linus Torvalds wrote: > > > > Actually, another option would be to just return an error at 'set_ldisc()' time. > > This patch works for me. You can propose a formal patch. Ok, I wrote a commit message, added your tested-by, and sent it out https://lore.kernel.org/all/20240423163339.59780-1-torvalds@linux-foundation.org/ let's see if anybody has better ideas, but that patch at least looks palatable to me. Linus