From linux-kernel Tue Apr 23 16:37:11 2024 From: Linus Torvalds Date: Tue, 23 Apr 2024 16:37:11 +0000 To: linux-kernel Subject: Re: [PATCH v2] tty: n_gsm: restrict tty devices to attach Message-Id: X-MARC-Message: https://marc.info/?l=linux-kernel&m=171389008920060 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