Re: [PATCH] ioctl_console: Document new CAP_SYS_ADMIN restrictions (since Linux 6.7)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 01, 2023 at 01:56:41PM +0100, Alejandro Colomar wrote:
> Hi Günther, Greg,
> 
> On Fri, Dec 01, 2023 at 01:26:45PM +0100, Günther Noack wrote:
> > Since Linux commit 8d1b43f6a6df7bce ("tty: Restrict access to TIOCLINUX'
> > copy-and-paste subcommands"), the TIOCL_SETSEL, TIOCL_PASTESEL and
> > TIOCL_SELLOADLUT subcommands require CAP_SYS_ADMIN.
> > 
> > Cc: Hanno Böck <hanno@xxxxxxxxx>
> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Günther Noack <gnoack@xxxxxxxxxx>
> > ---
> >  man2/ioctl_console.2 | 12 ++++++++++++
> >  1 file changed, 12 insertions(+)
> > 
> > diff --git a/man2/ioctl_console.2 b/man2/ioctl_console.2
> > index 684b4d013..abc50b786 100644
> > --- a/man2/ioctl_console.2
> > +++ b/man2/ioctl_console.2
> > @@ -715,12 +715,20 @@ is 0 for character-by-character selection,
> >  or 2 for line-by-line selection.
> >  The indicated screen characters are highlighted and saved
> >  in a kernel buffer.
> > +.IP
> > +Since Linux 6.7, using this subcode requires the
> 
> Are these requirements expected to be backported to stable kernels?

I don't think so, do you think they should be?

thanks,

greg k-h




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux