Skip to content

Commit 28f8cee

Browse files
committed
Add F_DUPFD_QUERY from Linux 6.10 to bits/fcntl-linux.h
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 <[email protected]>
1 parent bbb6a74 commit 28f8cee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sysdeps/unix/sysv/linux/bits/fcntl-linux.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@
200200
# define F_SETLEASE 1024 /* Set a lease. */
201201
# define F_GETLEASE 1025 /* Enquire what lease is active. */
202202
# define F_NOTIFY 1026 /* Request notifications on a directory. */
203+
# define F_DUPFD_QUERY 1027 /* Compare two file descriptors for sameness. */
203204
# define F_SETPIPE_SZ 1031 /* Set pipe page size array. */
204205
# define F_GETPIPE_SZ 1032 /* Set pipe page size array. */
205206
# define F_ADD_SEALS 1033 /* Add seals to file. */

0 commit comments

Comments
 (0)