Re: [PATCH] ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI

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

 



Hi Günther, Samuel,

On 2023-09-13 14:16, Samuel Thibault wrote:
> Günther Noack, le mer. 13 sept. 2023 13:06:31 +0200, a ecrit:
>> Cc: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
>> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
>> Signed-off-by: Günther Noack <gnoack@xxxxxxxxxx>
> 
> Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

Patch applied.  Thanks for the patch, and the review!

Cheers,
Alex

> 
>> ---
>>  man2/ioctl_tty.2 | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>> diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2
>> index 85577f80f..ebad97bcf 100644
>> --- a/man2/ioctl_tty.2
>> +++ b/man2/ioctl_tty.2
>> @@ -334,6 +334,15 @@ Argument:
>>  .BI "const char\~*" argp
>>  .IP
>>  Insert the given byte in the input queue.
>> +.IP
>> +Since Linux 6.2,
>> +.\" commit 690c8b804ad2eafbd35da5d3c95ad325ca7d5061
>> +.\" commit 83efeeeb3d04b22aaed1df99bc70a48fe9d22c4d
>> +this operation may require the
>> +.B CAP_SYS_ADMIN
>> +capability (if the
>> +.I dev.tty.legacy_tiocsti
>> +sysctl variable is set to false).
>>  .SS Redirecting console output
>>  .TP
>>  .B TIOCCONS
>> -- 
>> 2.42.0.283.g2d96d420d3-goog

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[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