mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Add renameat2 function [BZ #17662]
The implementation falls back to renameat if renameat2 is not available in the kernel (or in the kernel headers) and the flags argument is zero. Without kernel support, a non-zero argument returns EINVAL, not ENOSYS. This mirrors what the kernel does for invalid renameat2 flags.
This commit is contained in:
@ -2094,3 +2094,4 @@ GLIBC_2.27 xencrypt F
|
||||
GLIBC_2.27 xprt_register F
|
||||
GLIBC_2.27 xprt_unregister F
|
||||
GLIBC_2.28 fcntl64 F
|
||||
GLIBC_2.28 renameat2 F
|
||||
|
Reference in New Issue
Block a user