mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Add AT_HANDLE_FID from Linux 6.5 to bits/fcntl-linux.h
Linux 6.5 adds a constant AT_HANDLE_FID; add it to glibc. Because this is a flag for the function name_to_handle_at declared in bits/fcntl-linux.h, put the flag there rather than alongside other AT_* flags in (OS-independent) fcntl.h. Tested for x86_64.
This commit is contained in:
parent
5aa1ddfcb3
commit
2399ab0d20
1 changed files with 11 additions and 0 deletions
|
@ -368,6 +368,17 @@ struct file_handle
|
||||||
# define MAX_HANDLE_SZ 128
|
# define MAX_HANDLE_SZ 128
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __USE_GNU
|
||||||
|
/* Flags for name_to_handle_at. See comment in fcntl.h about the use
|
||||||
|
of the same AT_* flag bits for different purposes in different
|
||||||
|
functions. */
|
||||||
|
# define AT_HANDLE_FID AT_REMOVEDIR /* File handle is needed
|
||||||
|
to compare object
|
||||||
|
identity and may not
|
||||||
|
be usable to
|
||||||
|
open_by_handle_at. */
|
||||||
|
#endif
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
|
|
Loading…
Add table
Reference in a new issue