summary refs log tree commit diff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a9e69a3364..f40e09fcb1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
+	* sysdeps/unix/sysv/linux/renameat.c: New file.
+	* sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
+
 	* sysdeps/unix/sysv/linux/rename.c: New file.
 	* sysdeps/unix/sysv/linux/generic/rename.c: Remove file.