glibc/sysdeps/unix/sysv/linux/generic
Adhemerval Zanella 7fe1e1d60a Consolidate rename Linux implementation
This patch consolidates the Linux rename implementation on
sysdeps/unix/sysv/linux/rename.c.  Current code try to use
__NR_rename if is defined and apply the same strategy for
__NR_renameat and __NR_renameat2.

Check on x86_64 and aarch64.

	* sysdeps/unix/sysv/linux/rename.c: New file.
	* sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2016-12-14 15:31:24 -02:00
..
bits Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
wordsize-32 Use XSTAT_IS_XSTAT64 in generic xstat functions 2016-11-29 08:06:47 -08:00
Makefile
README
____longjmp_chk.c
brk.c
chmod.c
chown.c
creat.c
dl-origin.c
dup2.c
epoll_create.c
epoll_wait.c
futimesat.c
getdents.c
getdents64.c
inotify_init.c
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
lchown.c
link.c
lxstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
mkdir.c
open.c
open64.c
pause.c
pipe.c
poll.c
readlink.c
readlink_chk.c
recv.c
rmdir.c
select.c
send.c
symlink.c
syscalls.list
sysctl.c
sysdep.h
umount.c
unlink.c
ustat.c
utimes.c
xmknod.c
xstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00

README

This hierarchy supports Linux systems using the new
asm-generic/unistd.h, which removes many familiar old syscalls.  For
example, to implement open(), newer Linux architectures require glibc
to invoke the __NR_openat syscall with AT_FDCWD.  This hierarchy
provides all those implementations.

It also provides support for 32-bit platforms using the 64-bit kernel
syscall APIs, as the 32-bit ones are no longer provided.  Note that
newer ILP32 environments (x32 or AArch64:ILP32, for example) are
converting to use more 64-bit types in kernel syscalls, so that aspect
of this support is in more flux as of this writing.