linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: "Günther Noack" <gnoack@google.com>,
	"Samuel Thibault" <samuel.thibault@ens-lyon.org>,
	linux-man@vger.kernel.org
Cc: Kees Cook <keescook@chromium.org>
Subject: Re: [PATCH] ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI
Date: Wed, 13 Sep 2023 18:49:09 +0200	[thread overview]
Message-ID: <6f2cf8dd-a7fd-4a2b-9f13-711e2bd8772c@kernel.org> (raw)
In-Reply-To: <20230913121609.e6b54t7g5kgshaoz@begin>


[-- Attachment #1.1: Type: text/plain, Size: 1289 bytes --]

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@ens-lyon.org>
>> Cc: Kees Cook <keescook@chromium.org>
>> Signed-off-by: Günther Noack <gnoack@google.com>
> 
> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2023-09-13 16:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-13 11:06 [PATCH] ioctl_tty.2: Document CAP_SYS_ADMIN requirement for TIOCSTI Günther Noack
2023-09-13 12:16 ` Samuel Thibault
2023-09-13 16:49   ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f2cf8dd-a7fd-4a2b-9f13-711e2bd8772c@kernel.org \
    --to=alx@kernel.org \
    --cc=gnoack@google.com \
    --cc=keescook@chromium.org \
    --cc=linux-man@vger.kernel.org \
    --cc=samuel.thibault@ens-lyon.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).