Re: [PATCH RESEND] tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT

From: Günther Noack
Date: Fri Apr 11 2025 - 04:25:21 EST


Hello Greg, Jared and others!

On Fri, Apr 11, 2025 at 09:01:45AM +0200, Günther Noack wrote:
> This requirement was overeagerly loosened in commit 2f83e38a095f
> ("tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN"),
> ...

For context, the links to the previous mail thread, where this patch
was a bit too "hidden" in a sub-thread:

Original patch:
https://lore.kernel.org/all/20250223205449.7432-2-gnoack3000@xxxxxxxxx/

Brief additional summary for why I consider this safe:
https://lore.kernel.org/all/20250307.9339126c0c96@xxxxxxxxxx

Thank you!
–Günther