Linux Manual Pages development
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Yannick Le Pennec <yannick.lepennec@live.fr>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH v1 0/3] man/man2const: Document fcntls F_DUPFD_QUERY, F_CREATED_QUERY
Date: Sat, 24 Oct 2026 12:55:00 +0200	[thread overview]
Message-ID: <atyOMv-m6bR1acFO@debian> (raw)
In-Reply-To: <AS2PR02MB973752AF8D9D44AE6CB2DB629B9F2@AS2PR02MB9737.eurprd02.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]

Hi Yannick,

> Date: 2026-10-12 23:08:13+0200
> From: Yannick Le Pennec <yannick.lepennec@live.fr>
>
> Linux 6.10 and 6.12 added two new fcntl(2) operations, respectively:
> 
>   F_DUPFD_QUERY
>     since linux 6.10  c62b758bae6a ("fcntl: add F_DUPFD_QUERY fcntl()")
>     since glibc 2.41  28f8cee64a32 ("Add F_DUPFD_QUERY from Linux 6.10 to
>                                     bits/fcntl-linux.h")
>     Checks whether two fds point to the same open file description.
> 
>   F_CREATED_QUERY
>     since linux 6.12  820a185896b7 ("fcntl: add F_CREATED_QUERY")
>     since glibc 2.41  322e9d4e4430 ("Add F_CREATED_QUERY from Linux 6.12 to
>                                     bits/fcntl-linux.h")
>     Checks whether a file was created by a call to open(2) with O_CREAT.
> 
> This patch series documents both operations individually, with usage examples,
> then adds a new category in fcntl.2 that references them.
> I hesitated somewhat on whether F_DUPFD_QUERY should belong in the
> 'Duplicating a file descriptor' section of fcntl.2, or whether it should go with
> F_CREATED_QUERY in a separate 'Open file description queries' section, this
> series proposes the latter.

I agree with the proposal, since it doesn't duplicate an fd.  Thanks!


Have a lovely day!
Alex

> 
> Link: <https://lore.kernel.org/dri-devel/CAHk-=wixO-fmQYgbGic-BQVUd9RQhwGsF4bGk8ufWDKnRS1v_A@mail.gmail.com/>
> Link: <https://lore.kernel.org/all/20240724-work-fcntl-v1-1-e8153a2f1991@kernel.org/>
> Link: <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=28f8cee64a3223636d15c78f69432503d8ef1c22>
> Link: <https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=322e9d4e443084336ea41a8e7bf72456ab273b73>
> 
> Yannick Le Pennec (3):
>   man/man2const/F_DUPFD_QUERY.2const: Add page
>   man/man2const/F_CREATED_QUERY.2const: Add page
>   man/man2/fcntl.2: Add section
> 
>  man/man2/fcntl.2                     |   5 ++
>  man/man2const/F_CREATED_QUERY.2const | 107 +++++++++++++++++++++++++++
>  man/man2const/F_DUPFD_QUERY.2const   | 105 ++++++++++++++++++++++++++
>  3 files changed, 217 insertions(+)
>  create mode 100644 man/man2const/F_CREATED_QUERY.2const
>  create mode 100644 man/man2const/F_DUPFD_QUERY.2const
> 
> Range-diff against v0:
> -:  ---------- > 1:  8fc8c6255e man/man2const/F_DUPFD_QUERY.2const: Add page
> -:  ---------- > 2:  a29379d2a6 man/man2const/F_CREATED_QUERY.2const: Add page
> -:  ---------- > 3:  fcc62e822a man/man2/fcntl.2: Add section
> -- 
> 2.55.0
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2026-10-24 10:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-12 21:08 [PATCH v1 0/3] man/man2const: Document fcntls F_DUPFD_QUERY, F_CREATED_QUERY Yannick Le Pennec
2026-10-12 21:08 ` [PATCH v1 1/3] man/man2const/F_DUPFD_QUERY.2const: Add page Yannick Le Pennec
2026-10-24 11:13   ` Alejandro Colomar
2026-10-12 21:08 ` [PATCH v1 2/3] man/man2const/F_CREATED_QUERY.2const: " Yannick Le Pennec
2026-10-12 21:08 ` [PATCH v1 3/3] man/man2/fcntl.2: Add section Yannick Le Pennec
2026-10-24 11:18   ` Alejandro Colomar
2026-10-24 10:55 ` 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=atyOMv-m6bR1acFO@debian \
    --to=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=yannick.lepennec@live.fr \
    /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