mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +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:
@ -1961,6 +1961,7 @@ GLIBC_2.27 wcstof64 F
|
||||
GLIBC_2.27 wcstof64_l F
|
||||
GLIBC_2.28 fcntl F
|
||||
GLIBC_2.28 fcntl64 F
|
||||
GLIBC_2.28 renameat2 F
|
||||
GLIBC_2.3 __ctype_b_loc F
|
||||
GLIBC_2.3 __ctype_tolower_loc F
|
||||
GLIBC_2.3 __ctype_toupper_loc F
|
||||
|
@ -1959,6 +1959,7 @@ GLIBC_2.27 wcstof64 F
|
||||
GLIBC_2.27 wcstof64_l F
|
||||
GLIBC_2.28 fcntl F
|
||||
GLIBC_2.28 fcntl64 F
|
||||
GLIBC_2.28 renameat2 F
|
||||
GLIBC_2.3 __ctype_b_loc F
|
||||
GLIBC_2.3 __ctype_tolower_loc F
|
||||
GLIBC_2.3 __ctype_toupper_loc F
|
||||
|
@ -1967,6 +1967,7 @@ GLIBC_2.27 wcstof64x F
|
||||
GLIBC_2.27 wcstof64x_l F
|
||||
GLIBC_2.28 fcntl F
|
||||
GLIBC_2.28 fcntl64 F
|
||||
GLIBC_2.28 renameat2 F
|
||||
GLIBC_2.3 __ctype_b_loc F
|
||||
GLIBC_2.3 __ctype_tolower_loc F
|
||||
GLIBC_2.3 __ctype_toupper_loc F
|
||||
|
@ -1962,6 +1962,7 @@ GLIBC_2.27 wcstof64_l F
|
||||
GLIBC_2.27 wcstof64x F
|
||||
GLIBC_2.27 wcstof64x_l F
|
||||
GLIBC_2.28 fcntl64 F
|
||||
GLIBC_2.28 renameat2 F
|
||||
GLIBC_2.3 __ctype_b_loc F
|
||||
GLIBC_2.3 __ctype_tolower_loc F
|
||||
GLIBC_2.3 __ctype_toupper_loc F
|
||||
|
Reference in New Issue
Block a user