glibc/sysdeps/unix/sysv/linux
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
..
aarch64 Refactor Linux ipc_priv header 2016-12-28 20:28:56 -02:00
alpha Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
arm Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
bits Include <linux/falloc.h> in bits/fcntl-linux.h. 2016-12-14 18:23:15 +00:00
generic Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
hppa Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
i386 Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
ia64 Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
include/sys Installed header hygiene (BZ#20366): Test of installed headers. 2016-09-23 08:43:56 -04:00
m68k Consolidate Linux semtimedop implementation 2016-12-28 20:31:04 -02:00
microblaze Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
mips Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
net Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
netash
netatalk
netax25
neteconet
netinet Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
netipx Installed-header hygiene (BZ#20366): obsolete BSD u_* types. 2016-09-23 08:43:56 -04:00
netiucv Add missing iucv related defines. 2016-04-27 09:08:29 +02:00
netpacket
netrom
netrose Installed-header hygiene (BZ#20366): Simple self-contained fixes. 2016-09-23 08:43:55 -04:00
nfs
nios2 Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
powerpc Refactor Linux ipc_priv header 2016-12-28 20:28:56 -02:00
s390 Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
scsi
sh Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
sparc Consolidate Linux semctl implementation 2016-12-28 20:31:04 -02:00
sys Installed-header hygiene (BZ#20366): time.h types. 2016-09-23 08:43:56 -04:00
tile Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
wordsize-64 Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
x86 Get rid of __elision_available 2016-12-07 09:35:07 +01:00
x86_64 Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
Implies
Makefile Consolidate lseek/lseek64/llseek implementations 2016-11-08 16:04:33 -02:00
Versions
_G_config.h
_exit.c
a.out.h
accept.c
accept4.c
access.c New internal function __access_noerrno 2016-11-16 15:53:58 -02:00
adjtime.c
aio_misc.h
aio_sigqueue.c
arch-fork.h
bind.c
check_native.c network: recvmsg and sendmsg standard compliance (BZ#16919) 2016-05-25 17:39:01 -03:00
check_pf.c network: recvmsg and sendmsg standard compliance (BZ#16919) 2016-05-25 17:39:01 -03:00
clock.c
clock_getcpuclockid.c
clock_getres.c
clock_gettime.c
clock_nanosleep.c
clock_settime.c
cmsg_nxthdr.c
configure
configure.ac
connect.c
createthread.c Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
default-sched.h
device-nrs.h
dl-brk.c
dl-execstack.c
dl-fxstatat64.c
dl-getcwd.c
dl-librecon.h
dl-openat64.c
dl-opendir.c
dl-origin.c
dl-osinfo.h
dl-sbrk.c
dl-sysdep.c
dl-sysdep.h
dl-vdso.c
dl-vdso.h
dl-writev.h
epoll_pwait.c
errqueue.h
eventfd_read.c
eventfd_write.c
exit-thread.h
faccessat.c
fallocate.c Consolidate fallocate{64} implementations 2016-10-07 14:16:36 -03:00
fallocate64.c Consolidate fallocate{64} implementations 2016-10-07 14:16:36 -03:00
fatal-prepare.h
fchmodat.c
fcntl.c
fd_to_filename.h
fexecve.c
fips-private.h
fpathconf.c
fstatfs64.c Fix for [f]statfs64/[f]statfs aliasing patch 2016-11-28 08:51:01 -08:00
fstatvfs.c
fstatvfs64.c
ftime.c
ftruncate.c Consolidate Linux ftruncate implementations 2016-11-09 17:46:11 -02:00
ftruncate64.c Consolidate Linux ftruncate implementations 2016-11-09 17:46:11 -02:00
futex-internal.h
futimens.c
futimes.c
futimesat.c
fxstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
fxstat64.c Define __ASSUME_ST_INO_64_BIT on all platforms. 2016-11-07 13:26:27 -08:00
fxstatat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
fxstatat64.c
gai_sigqueue.c
getclktck.c
getcwd.c
getdents.c
getdents64.c
getdirentries.c
getdirentries64.c
getdtsz.c
getentropy.c Add getentropy, getrandom, <sys/random.h> [BZ #17252] 2016-12-12 17:28:04 +01:00
gethostid.c
getipv4sourcefilter.c
getloadavg.c
getlogin.c
getlogin_r.c
getpagesize.c
getpeername.c
getpriority.c
getpt.c
getrandom.c Add getentropy, getrandom, <sys/random.h> [BZ #17252] 2016-12-12 17:28:04 +01:00
getrlimit.c Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
getrlimit64.c Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
getsockname.c
getsockopt.c
getsourcefilter.c
getsysstats.c
gettimeofday.c
grantpt.c
if_index.c
ifaddrs.c network: recvmsg and sendmsg standard compliance (BZ#16919) 2016-05-25 17:39:01 -03:00
ifreq.c
internal_statvfs.c This patch cleans up the strsep implementation and improves performance. 2016-12-21 15:16:29 +00:00
internal_statvfs64.c
ipc_ops.h Refactor Linux ipc_priv header 2016-12-28 20:28:56 -02:00
ipc_priv.h Refactor Linux ipc_priv header 2016-12-28 20:28:56 -02:00
kernel-features.h Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
kernel-posix-cpu-timers.h
kernel-posix-timers.h
kernel_sigaction.h
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
kernel_termios.h
ldd-rewrite.sed
lddlibc4.c
ldsodefs.h
libc_fatal.c
linux_fsinfo.h
listen.c
local-setxid.h
lowlevellock-futex.h
lseek.c Consolidate lseek/lseek64/llseek implementations 2016-11-08 16:04:33 -02:00
lseek64.c Consolidate lseek/lseek64/llseek implementations 2016-11-08 16:04:33 -02:00
lutimes.c
lxstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
lxstat64.c Define __ASSUME_ST_INO_64_BIT on all platforms. 2016-11-07 13:26:27 -08:00
malloc-sysdep.h
mmap64.c
mq_close.c
mq_getattr.c
mq_notify.c
mq_open.c
mq_receive.c
mq_send.c
mq_unlink.c
msgctl.c Consolidate Linux msgctl implementation 2016-12-28 20:28:56 -02:00
msgget.c Use msgget syscall for Linux implementation 2016-12-28 20:28:56 -02:00
msgrcv.c Consolidate Linux msgrcv implementation 2016-12-28 20:28:56 -02:00
msgsnd.c Use msgsnd syscall for Linux implementation 2016-12-28 20:28:56 -02:00
netlink_assert_response.c
netlinkaccess.h
nice.c
not-cancel.h
nptl-signals.h Refactor Linux raise implementation (BZ#15368) 2016-07-13 17:08:51 +01:00
nscd_setup_thread.c
ntp_gettime.c
ntp_gettimex.c
open64.c
openat.c
openat64.c
opendir.c
opensock.c
pathconf.c
pathconf.h
paths.h
personality.c
posix_fadvise.c Consolidate posix_fadvise implementations 2016-10-07 14:16:41 -03:00
posix_fadvise64.c Consolidate posix_fadvise implementations 2016-10-07 14:16:41 -03:00
posix_fallocate.c Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
posix_fallocate64.c Consolidate posix_fallocate{64} implementations 2016-10-07 14:16:41 -03:00
posix_madvise.c
ppoll.c
pread.c Fix Linux sh4 pread/pwrite argument passing 2016-10-24 15:26:42 -02:00
pread64.c Fix Linux sh4 pread/pwrite argument passing 2016-10-24 15:26:42 -02:00
preadv.c Remove __ASSUME_OFF_DIFF_OFF64 definition 2016-07-08 14:28:08 -03:00
preadv64.c Remove __ASSUME_OFF_DIFF_OFF64 definition 2016-07-08 14:28:08 -03:00
prlimit.c
prof-freq.c
profil.c
pselect.c
pt-raise.c Refactor Linux raise implementation (BZ#15368) 2016-07-13 17:08:51 +01:00
pthread-pids.h Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
pthread_getaffinity.c
pthread_getcpuclockid.c
pthread_getname.c
pthread_kill.c Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
pthread_setaffinity.c
pthread_setname.c
pthread_sigmask.c
pthread_sigqueue.c Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
ptrace.c
ptsname.c
pwrite.c Fix Linux sh4 pread/pwrite argument passing 2016-10-24 15:26:42 -02:00
pwrite64.c Fix Linux sh4 pread/pwrite argument passing 2016-10-24 15:26:42 -02:00
pwritev.c Remove __ASSUME_OFF_DIFF_OFF64 definition 2016-07-08 14:28:08 -03:00
pwritev64.c Remove __ASSUME_OFF_DIFF_OFF64 definition 2016-07-08 14:28:08 -03:00
raise.c Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
readahead.c
readdir64.c
readdir64_r.c
readonly-area.c
reboot.c
recv.c
recvfrom.c
recvmmsg.c Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
recvmsg.c Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
remove.c
rename.c Consolidate rename Linux implementation 2016-12-14 15:31:24 -02:00
renameat.c Consolidate renameat Linux implementation 2016-12-14 15:31:24 -02:00
sa_len.c
safe-fatal.h
sched_getaffinity.c
sched_getcpu.c
sched_setaffinity.c
segfault.c
semctl.c Consolidate Linux semctl implementation 2016-12-28 20:31:04 -02:00
semget.c Use semget syscall for Linux implementation 2016-12-28 20:31:04 -02:00
semop.c Use semop syscall for Linux implementation 2016-12-28 20:31:04 -02:00
semtimedop.c Consolidate Linux semtimedop implementation 2016-12-28 20:31:04 -02:00
send.c
sendmmsg.c Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
sendmsg.c Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
sendto.c
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
setipv4sourcefilter.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
setrlimit64.c Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
setsockopt.c
setsourcefilter.c
setuid.c
shlib-versions
shm-directory.c
shmat.c Use shmat syscall for Linux implementation 2016-12-28 20:31:05 -02:00
shmctl.c Consolidate Linux shmctl implementation 2016-12-28 20:31:05 -02:00
shmdt.c Use shmdt syscall for linux implementation 2016-12-28 20:31:05 -02:00
shmget.c Use shmget syscall for linux implementation 2016-12-28 20:31:05 -02:00
shutdown.c
sigaction.c
siglist.h
signal.c
signalfd.c
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigstack.c
sigsuspend.c
sigtimedwait.c
sigwait.c
sigwaitinfo.c
sizes.h
socket.c
socketcall.h
socketpair.c
spawni.c posix: Fix open file action for posix_spawn on Linux 2016-09-28 14:07:35 -07:00
speed.c
statfs64.c Fix for [f]statfs64/[f]statfs aliasing patch 2016-11-28 08:51:01 -08:00
statvfs.c
statvfs64.c
sync_file_range.c Consolidate Linux sync_file_range implementations 2016-10-11 16:21:12 -03:00
syscalls.list Consolidate renameat Linux implementation 2016-12-14 15:31:24 -02:00
sysconf.c
sysctl.c
sysctl.mk
sysdep-vdso.h
sysdep.h Fix Linux sh4 pread/pwrite argument passing 2016-10-24 15:26:42 -02:00
syslog.c
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsendbrk.c
tcsetattr.c
tcsetpgrp.c
termio.h
time.c
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_routines.c
timer_settime.c
times.c Expand comments in Linux times() implementation. 2016-06-19 15:47:00 -04:00
timespec_get.c
truncate.c Consolidate Linux truncate implementations 2016-11-09 17:46:17 -02:00
truncate64.c Consolidate Linux truncate implementations 2016-11-09 17:46:17 -02:00
tst-affinity-pid.c
tst-affinity.c
tst-align-clone.c
tst-clone.c
tst-clone2.c Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
tst-fallocate-common.c support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
tst-fallocate.c Consolidate fallocate{64} implementations 2016-10-07 14:16:36 -03:00
tst-fallocate64.c Consolidate fallocate{64} implementations 2016-10-07 14:16:36 -03:00
tst-fanotify.c
tst-getpid1.c
tst-personality.c
tst-quota.c Base <sys/quota.h> on Linux kernel headers [BZ #20525] 2016-09-01 15:53:13 +02:00
tst-setgetname.c Fix -Wformat-length warning in tst-setgetname.c 2016-10-24 09:43:54 -07:00
tst-skeleton-affinity.c
tst-skeleton-thread-affinity.c
tst-sync_file_range.c support: Introduce new subdirectory for test infrastructure 2016-12-09 08:18:27 +01:00
tst-thread-affinity-pthread.c
tst-thread-affinity-pthread2.c
tst-thread-affinity-sched.c
ttyname.c
ttyname_r.c
ualarm.c
umount.S
umount2.S
unlockpt.c
updwtmp.c
ustat.c
utimensat.c
utimes.c
utmp_file.c
vfork.c
wait.c Remove union wait [BZ #19613] 2016-04-14 08:54:57 +02:00
wait3.c
waitid.c
waitpid.c
xmknod.c
xmknodat.c
xstat.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
xstat64.c Define __ASSUME_ST_INO_64_BIT on all platforms. 2016-11-07 13:26:27 -08:00
xstatconv.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00
xstatconv.h