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 /hurd | |
parent | 7fe1e1d60a0f7b5eaf9f423c1fea7d0660690088 (diff) | |
download | glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.zip glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.gz glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.bz2 |
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 'hurd')
0 files changed, 0 insertions, 0 deletions