about summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-12-13 16:50:06 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-12-14 15:31:24 -0200
commit8b9283dabd5ab3524c9a76fabbb379f950a86e6d (patch)
tree281e8482bdab7a66365dfe5208f076ec2e98904b /stdlib
parent7fe1e1d60a0f7b5eaf9f423c1fea7d0660690088 (diff)
downloadglibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.gz
glibc-8b9283dabd5ab3524c9a76fabbb379f950a86e6d.tar.xz
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 'stdlib')
0 files changed, 0 insertions, 0 deletions