[PATCH v2] tty: n_gsm: restrict tty devices to attach

Linus Torvalds torvalds at linux-foundation.org
Tue Apr 23 16:37:11 UTC 2024


On Tue, 23 Apr 2024 at 08:26, Tetsuo Handa
<penguin-kernel at i-love.sakura.ne.jp> 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



More information about the Linux-security-module-archive mailing list