]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add F_CREATED_QUERY from Linux 6.12 to bits/fcntl-linux.h
authorJoseph Myers <josmyers@redhat.com>
Fri, 20 Dec 2024 11:47:33 +0000 (11:47 +0000)
committerJoseph Myers <josmyers@redhat.com>
Fri, 20 Dec 2024 11:47:33 +0000 (11:47 +0000)
Linux 6.12 adds a new constant F_CREATED_QUERY.  Add it to glibc's
bits/fcntl-linux.h.

Tested for x86_64.

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

index 61c100d9844b58010480e3299be0ab991f5c6a05..bb56d876bbecfb5197c94c80d1307b1fd7f6bd33 100644 (file)
 # 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_CREATED_QUERY 1028   /* Was the file just created?  */
 # 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.  */