Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Add F_DUPFD_QUERY from Linux 6.10 to bits/fcntl-linux.h
Browse files Browse the repository at this point in the history
It was added by commit c62b758bae6af16 as a way for userspace to
check if two file descriptors refer to the same struct file.

Checked on aarch64-linux-gnu.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
  • Loading branch information
zatrazz authored and Chiichen committed Oct 18, 2024
1 parent 72014fd commit d040b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/bits/fcntl-linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
# define F_SETLEASE 1024 /* Set a lease. */
# define F_GETLEASE 1025 /* Enquire what lease is active. */
# define F_NOTIFY 1026 /* Request notifications on a directory. */
# define F_DUPFD_QUERY 1027 /* Compare two file descriptors for sameness. */
# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
# define F_ADD_SEALS 1033 /* Add seals to file. */
Expand Down

0 comments on commit d040b88

Please sign in to comment.