diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-12-13 16:50:06 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-12-14 15:31:24 -0200 |
commit | 8b9283dabd5ab3524c9a76fabbb379f950a86e6d (patch) | |
tree | 281e8482bdab7a66365dfe5208f076ec2e98904b /support/xmalloc.c | |
parent | 7fe1e1d60a0f7b5eaf9f423c1fea7d0660690088 (diff) | |
download | glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.gz glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.bz2 glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.zip |
Consolidate renameat Linux implementation
This patch consolidates the Linux renameat implementation on
sysdeps/unix/sysv/linux/renameat.c. The renameat syscall was
deprecated at b0da6d44 for newer architectures, so using the
auto-generation list may generate wrappers that returns ENOSYS.
Current code try to use __NR_renameat and if it is not define
it uses __NR_renameat2.
Checked on x86_64 and aarch64.
* sysdeps/unix/sysv/linux/renameat.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
Diffstat (limited to 'support/xmalloc.c')
0 files changed, 0 insertions, 0 deletions