Adhemerval Zanella
8232e7d209
Use shmat syscall for Linux implementation
This patch add a direct call to shmat syscall if it is supported by
kernel features.
Checked on x86_64, i686, powerpc64le, aarch64, and armhf.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
* sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
* sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
Define to __NR_osf_shmat.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
defined.
2016-12-28 20:31:05 -02:00
..
2016-11-17 15:54:22 -02:00
2016-12-21 01:48:27 +00:00
2016-12-28 20:31:05 -02:00
2016-09-28 07:19:59 -04:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-06-24 20:53:03 +00:00
2014-06-24 20:53:03 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-12-20 15:12:48 +01:00
2016-01-04 16:05:18 +00:00
2016-12-20 15:12:48 +01:00
2016-12-20 15:12:48 +01:00
2016-01-04 16:05:18 +00:00
2016-12-20 15:12:48 +01:00
2014-07-07 09:29:06 -07:00
2016-05-09 11:05:45 +02:00
2016-01-04 16:05:18 +00:00
2016-12-28 20:28:56 -02:00
2016-01-04 16:05:18 +00:00
2015-11-06 13:58:53 +01:00
2016-05-09 11:05:45 +02:00
2016-11-30 16:23:58 +01:00
2016-01-04 16:05:18 +00:00
2016-12-20 15:12:48 +01:00
2016-12-20 15:12:48 +01:00
2016-10-07 10:12:48 +02:00
2014-06-26 09:30:52 -07:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-12-28 20:31:04 -02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-07-31 20:04:54 +02:00
2014-06-26 09:31:11 -07:00