glibc/sysdeps/unix/sysv/linux/generic
Adhemerval Zanella 50a6b4e0e4 Use shmget syscall for linux implementation
this patch add a direct call to shmget syscall if it is supported by
kernel features.

Checked on x86_64, i686, powerpc64le, aarch64, and armhf.

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
	* sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
	* sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
	is defined.
2016-12-28 20:31:05 -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 linux-generic: add a README 2015-03-19 13:33:01 -04:00
____longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
chmod.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
chown.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
creat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dl-origin.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
dup2.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
epoll_create.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
epoll_wait.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
futimesat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
getdents.c
getdents64.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
inotify_init.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
lchown.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
link.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
lxstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
mkdir.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
open.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
open64.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pause.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pipe.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
poll.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
readlink.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
readlink_chk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
recv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rmdir.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
send.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
symlink.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
syscalls.list Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
sysctl.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sysdep.h Consolidate lseek/lseek64/llseek implementations 2016-11-08 16:04:33 -02:00
umount.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
unlink.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ustat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
utimes.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
xmknod.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
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.