glibc/sysdeps/unix/sysv/linux
H.J. Lu fb1cf10811 Add INLINE_SYSCALL_ERROR_RETURN_VALUE
For ia32 PIC, the first thing of many syscalls does is to call
__x86.get_pc_thunk.reg to load PC into reg in case there is an error,
which is required for setting errno.  In most cases, there are no
errors.  But we still call __x86.get_pc_thunk.reg.  This patch adds
INLINE_SYSCALL_ERROR_RETURN_VALUE so that i386 can optimize setting
errno by branching to the internal __syscall_error without PLT.

With i386 INLINE_SYSCALL_ERROR_RETURN_VALUE and i386 syscall inlining
optimization for GCC 5, for sysdeps/unix/sysv/linux/fchmodat.c with
-O2 -march=i686 -mtune=generic, GCC 5.2 now generates:

<fchmodat>:
   0:	push   %ebx
   1:	mov    0x14(%esp),%eax
   5:	mov    0x8(%esp),%ebx
   9:	mov    0xc(%esp),%ecx
   d:	mov    0x10(%esp),%edx
  11:	test   $0xfffffeff,%eax
  16:	jne    38 <fchmodat+0x38>
  18:	test   $0x1,%ah
  1b:	jne    48 <fchmodat+0x48>
  1d:	mov    $0x132,%eax
  22:	call   *%gs:0x10
  29:	cmp    $0xfffff000,%eax
  2e:	ja     58 <fchmodat+0x58>
  30:	pop    %ebx
  31:	ret
  32:	lea    0x0(%esi),%esi
  38:	pop    %ebx
  39:	mov    $0xffffffea,%eax
  3e:	jmp    3f <fchmodat+0x3f>	3f: R_386_PC32	__syscall_error
  43:	nop
  44:	lea    0x0(%esi,%eiz,1),%esi
  48:	pop    %ebx
  49:	mov    $0xffffffa1,%eax
  4e:	jmp    4f <fchmodat+0x4f>	4f: R_386_PC32	__syscall_error
  53:	nop
  54:	lea    0x0(%esi,%eiz,1),%esi
  58:	pop    %ebx
  59:	jmp    5a <fchmodat+0x5a>	5a: R_386_PC32	__syscall_error

instead of

<fchmodat>:
   0:	sub    $0x8,%esp
   3:	mov    0x18(%esp),%eax
   7:	mov    %ebx,(%esp)
   a:	call   b <fchmodat+0xb>	b: R_386_PC32	__x86.get_pc_thunk.bx
   f:	add    $0x2,%ebx	11: R_386_GOTPC	_GLOBAL_OFFSET_TABLE_
  15:	mov    %edi,0x4(%esp)
  19:	test   $0xfffffeff,%eax
  1e:	jne    70 <fchmodat+0x70>
  20:	test   $0x1,%ah
  23:	jne    88 <fchmodat+0x88>
  25:	mov    0x14(%esp),%edx
  29:	mov    0x10(%esp),%ecx
  2d:	mov    0xc(%esp),%edi
  31:	xchg   %ebx,%edi
  33:	mov    $0x132,%eax
  38:	call   *%gs:0x10
  3f:	xchg   %edi,%ebx
  41:	cmp    $0xfffff000,%eax
  46:	ja     58 <fchmodat+0x58>
  48:	mov    (%esp),%ebx
  4b:	mov    0x4(%esp),%edi
  4f:	add    $0x8,%esp
  52:	ret
  53:	nop
  54:	lea    0x0(%esi,%eiz,1),%esi
  58:	mov    0x0(%ebx),%edx	5a: R_386_TLS_GOTIE	__libc_errno
  5e:	neg    %eax
  60:	mov    %eax,%gs:(%edx)
  63:	mov    $0xffffffff,%eax
  68:	jmp    48 <fchmodat+0x48>
  6a:	lea    0x0(%esi),%esi
  70:	mov    0x0(%ebx),%eax	72: R_386_TLS_GOTIE	__libc_errno
  76:	movl   $0x16,%gs:(%eax)
  7d:	mov    $0xffffffff,%eax
  82:	jmp    48 <fchmodat+0x48>
  84:	lea    0x0(%esi,%eiz,1),%esi
  88:	mov    0x0(%ebx),%eax	8a: R_386_TLS_GOTIE	__libc_errno
  8e:	movl   $0x5f,%gs:(%eax)
  95:	mov    $0xffffffff,%eax
  9a:	jmp    48 <fchmodat+0x48>

	* sysdeps/unix/sysv/linux/sysdep.h: New file.
	* sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
	<sysdeps/unix/sysv/linux/sysdep.h>.
	* sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
	(sysdep-dl-routines): Add sysdep.
	[$(subdir) == nptl] (libpthread-routines): Likewise.
	[$(subdir) == rt] (librt-routines): Likewise.
	* sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
	PIC when branching to SYSCALL_ERROR_LABEL.
	* sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
	* sysdeps/unix/sysv/linux/i386/sysdep.h: Include
	<sysdeps/unix/sysv/linux/sysdep.h>.
	(SYSCALL_ERROR_LABEL): Changed to __syscall_error.
	(SYSCALL_ERROR_ERRNO): Removed.
	(SYSCALL_ERROR_HANDLER): Changed to empty.
	(SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
	(__syscall_error): New prototype.
	[IS_IN (libc)] (INLINE_SYSCALL): New macro.
	(INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2015-10-13 11:59:15 -07:00
..
aarch64 [AArch64][BZ 18648] change greg_t definition in ucontext.h 2015-07-09 09:53:30 +01:00
alpha Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
arm Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
bits Add netinet/in.h values from Linux 4.2. 2015-09-01 13:47:25 +00:00
generic Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
hppa Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
i386 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
ia64 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
include/sys linux/getsysstats.c: use sysinfo() instead of parsing /proc/meminfo 2015-09-12 21:09:59 -04:00
m68k Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
microblaze Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
mips Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
net Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netash Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netatalk Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netax25 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
neteconet Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netinet Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netipx Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netiucv Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netpacket Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netrom Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
netrose Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nfs
nios2 Move bits/atomic.h to atomic-machine.h (bug 14912). 2015-09-11 20:00:19 +00:00
powerpc Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
s390 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
scsi Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sh Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
sparc Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
sys Update headers for Linux 4.0, 4.1 definitions. 2015-06-29 14:38:46 +00:00
tile tile: Fix BZ #18508 (makecontext yield infinite backtrace) 2015-07-21 12:11:55 -04:00
wordsize-64 Mark lseek/llseek as non-cancellable 2015-10-09 14:26:08 -03:00
x86 Move x86_64 init-arch.h to sysdeps/x86/init-arch.h 2015-08-20 04:29:23 -07:00
x86_64 Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
_exit.c PLT avoidance for _exit in rtld. 2015-07-09 15:25:47 -07:00
_G_config.h Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h. 2012-10-18 18:50:43 +00:00
a.out.h Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
accept4.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
accept.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
adjtime.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
aio_misc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_sigqueue.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
bind.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
check_native.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
check_pf.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
check-cpuset.h NPTL: Refactor cpu_set_t validation to be sysdeps-controlled 2015-01-08 10:49:40 -08:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_getres.c Consolidate vDSO macros and usage 2015-05-26 10:10:36 -03:00
clock_gettime.c Consolidate vDSO macros and usage 2015-05-26 10:10:36 -03:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
clock.c Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
cmsg_nxthdr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
configure Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
configure.ac Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
connect.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
createthread.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
default-sched.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
device-nrs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-brk.c
dl-execstack.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
dl-getcwd.c Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
dl-librecon.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-openat64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
dl-opendir.c Remove __ASSUME_O_CLOEXEC / O_CLOEXEC conditionals in sysdeps/unix/sysv/linux/. 2014-06-25 20:29:45 +00:00
dl-origin.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-osinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-sbrk.c
dl-sysdep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-sysdep.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-vdso.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-vdso.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-writev.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
epoll_pwait.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
errqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
eventfd_read.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
eventfd_write.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
eventfd.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
exit-thread.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
faccessat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fallocate64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
fallocate.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
fatal-prepare.h Use __pthread_setcancelstate in libc.a 2015-09-17 16:38:54 -07:00
fchmodat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fcntl.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fd_to_filename.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fexecve.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fips-private.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fpathconf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fstatfs64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fstatvfs64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fstatvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
ftime.c
ftruncate64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
futex-internal.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
futimens.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
futimes.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
futimesat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fxstat64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fxstat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fxstatat64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
fxstatat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
gai_sigqueue.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
getclktck.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getcwd.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents64.c
getdents.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdirentries64.c
getdirentries.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdtsz.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
gethostid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getloadavg.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getlogin_r.c Fix getlogin_r namespace (bug 18527). 2015-06-12 20:02:30 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpeername.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
getpid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getpriority.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
getpt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getrlimit64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
getsockname.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
getsockopt.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
getsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsysstats.c linux/getsysstats.c: use sysinfo() instead of parsing /proc/meminfo 2015-09-12 21:09:59 -04:00
gettimeofday.c Consolidate gettimeofday across aarch64/s390/tile 2015-05-26 17:03:35 -03:00
grantpt.c CVE-2013-2207, BZ #15755: Disable pt_chown. 2013-07-21 15:39:55 -04:00
if_index.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
ifaddrs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
internal_statvfs64.c
internal_statvfs.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel_sigaction.h
kernel_stat.h Use __glibc_reserved instead __unused. 2013-11-26 12:32:28 +01:00
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel-features.h Remove __ASSUME_IPC64 2015-08-24 10:53:49 +02:00
kernel-posix-cpu-timers.h
kernel-posix-timers.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldd-rewrite.sed
lddlibc4.c Update copyright dates not handled by scripts/update-copyrights. 2015-01-02 16:54:45 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc_fatal.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
linux_fsinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
listen.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
llseek.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
local-setxid.h Remove pre-2.4 Linux kernel support. 2012-05-25 19:19:30 +00:00
lowlevellock-futex.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
lseek64.c
lutimes.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
lxstat64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
lxstat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
makedev.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Don't run tst-getpid2 with LD_BIND_NOW=1 2015-08-25 11:37:44 -07:00
malloc-sysdep.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
mq_close.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mq_notify.c Fix mq_notify socket, recv namespace (bug 18546). 2015-06-17 20:20:08 +00:00
mq_open.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
mq_receive.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_send.c Fix mq_receive, mq_send mq_timed* namespace (bug 18545). 2015-06-17 20:19:04 +00:00
mq_unlink.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
msgctl.c Remove __ASSUME_IPC64 2015-08-24 10:53:49 +02:00
msgget.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
msgrcv.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
msgsnd.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
netlinkaccess.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nice.c update linux nice.c include path too after recent file shuffle 2012-08-17 22:42:49 -04:00
not-cancel.h Use inline syscalls for non-cancellable versions 2015-06-04 14:52:34 -03:00
nptl-signals.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ntp_gettime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ntp_gettimex.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
open64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
openat64.c Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}. 2013-05-03 16:33:26 -07:00
openat.c Remove unused definition of __openat(64)_nocancel 2015-08-11 09:37:38 +02:00
opendir.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
opensock.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pathconf.c Fix pathconf basename namespace (bug 18444). 2015-05-22 17:09:36 +00:00
pathconf.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
paths.h Fix small indendation issues in paths.h files 2012-11-04 10:10:58 +01:00
posix_fadvise64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_fadvise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_fallocate64.c __ASSUME_FALLOCATE is always true on 32-bit architectures 2015-05-05 08:28:35 +02:00
posix_fallocate.c __ASSUME_FALLOCATE is always true on 32-bit architectures 2015-05-05 08:28:35 +02:00
posix_madvise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ppoll.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pread64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pread.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
preadv64.c * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64 2009-04-08 19:24:34 +00:00
preadv.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
prlimit.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
prof-freq.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
profil.c
pselect.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pt-raise.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_getname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_kill.c Function declaration cleanup 2015-01-06 08:23:58 -08:00
pthread_setaffinity.c pthread_setaffinity (Linux variant): Rewrite to use VLA instead of alloca 2015-03-23 16:34:48 +01:00
pthread_setname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread_sigqueue.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pthread-pids.h NaCl: Set tid field to a unique value. 2015-05-20 14:52:05 -07:00
ptrace.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ptsname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pwrite64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pwrite.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwritev.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
raise.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
readahead.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
readdir64_r.c Missing #include updates for dirstream code move from unix to posix. 2012-08-08 09:18:37 -07:00
readdir64.c Move common dirent implementation from sysdeps/unix to sysdeps/posix. 2012-08-07 14:47:34 -07:00
readonly-area.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
reboot.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
recv.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
recvfrom.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
recvmmsg.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
recvmsg.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
remove.c Handle POSIX-compliant errno value of unlink in remove. 2010-04-04 02:08:37 -07:00
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
safe-fatal.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sched_getaffinity.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sched_getcpu.c Consolidate sched_getcpu 2015-06-09 14:56:21 -03:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
segfault.c
semctl.c Remove extra va_start/va_end calls (bug 17244) 2015-09-16 14:51:28 +02:00
semget.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
semop.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
semtimedop.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
send.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
sendmmsg.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
sendmsg.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
sendto.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
setegid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
seteuid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setgid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setgroups.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sethostid.c
setipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setregid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setresgid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setresuid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setreuid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setrlimit64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
setsockopt.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
setsourcefilter.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setuid.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shm-directory.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
shmat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
shmctl.c Remove __ASSUME_IPC64 2015-08-24 10:53:49 +02:00
shmdt.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
shmget.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
shutdown.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
siglist.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signal.c
signalfd.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sigpending.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sigprocmask.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sigqueue.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sigreturn.c
sigset-cvt-mask.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigsuspend.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
sigtimedwait.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
sigwait.c Function declaration cleanup 2015-01-06 08:23:58 -08:00
sigwaitinfo.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
sizes.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sleep.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket.c Call direct system calls for socket operations 2015-08-25 13:45:56 -03:00
socketcall.h Remove socket.S implementation 2015-05-22 17:38:06 -03:00
socketpair.c powerpc: Fix compiler warning in some syscalls. 2015-09-04 15:19:30 -03:00
speed.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
statfs64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
statvfs64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
sync_file_range.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
syscalls.list linux/getsysstats.c: use sysinfo() instead of parsing /proc/meminfo 2015-09-12 21:09:59 -04:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysctl.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
sysctl.mk Remove $(sysctl) from sysdep_routines 2012-05-22 13:58:43 -07:00
sysdep-vdso.h Consolidate vDSO macros and usage 2015-05-26 10:10:36 -03:00
sysdep.h Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
syslog.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
system.c Move bits/libc-lock.h and bits/libc-lockP.h out of bits/ (bug 14912). 2015-09-08 21:11:03 +00:00
tcdrain.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
tcflow.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tcflush.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tcgetattr.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tcgetpgrp.c
tcsendbrk.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
tcsetattr.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
tcsetpgrp.c
termio.h
time.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timer_getoverr.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
timer_gettime.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
timer_routines.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
timer_settime.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
times.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timespec_get.c x86: clock_gettime and timespec_get vDSO cleanup 2015-06-01 22:25:02 -03:00
truncate64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
tst-align-clone.c NPTL: Build tests using clone directly only for Linux. 2015-02-06 12:30:23 -08:00
tst-clone.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-fanotify.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
tst-getcpu.c Print more information in tst-getcpu failure case. 2015-06-24 13:56:46 -07:00
tst-getpid1.c NPTL: Build tests using clone directly only for Linux. 2015-02-06 12:30:23 -08:00
tst-getpid2.c NPTL: Build tests using clone directly only for Linux. 2015-02-06 12:30:23 -08:00
tst-setgetname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ttyname_r.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ttyname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ualarm.c
umount2.S
umount.S
unlockpt.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ustat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
utimensat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
utimes.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
utmp_file.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Versions Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions. 2012-04-21 13:18:11 +00:00
vfork.c
wait3.c Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
wait.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
waitid.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
waitpid.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
xmknod.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
xmknodat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
xstat64.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
xstat.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
xstatconv.c Revert "Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN" 2015-08-21 09:57:15 -07:00
xstatconv.h Mark __xstatXX_conv as hidden 2015-08-19 04:41:06 -07:00