glibc/sysdeps/unix/sysv/linux
Adhemerval Zanella ccf970c7a7 posix: Add compat glob symbol to not follow dangling symbols
This patch follows commit 5554304f0 (posix: Allow glob to match dangling
symlinks [BZ #866]) by adding a compat symbol that follow previous
semantic of not following dangling symlinks and thus avoiding call
gl_lstat with GLOB_ALTDIRFUNC.

It avoids failure with old binaries that not set the alternate function
pointer for lstat (GNUmake for instance).  The following scenario, for
instance, fails with current GNUmake because glibc will access unitialized
memory when calling gl_lstat:

  $ cat src/t/t.c
  int main ()
  {
    return 0;
  }
  $ cat Makefile
  SRC = $(wildcard src/*/t.c)
  OBJ = $(patsubst src/%.c, obj/%.o, $(SRC))

  prog:           $(OBJ)
                  $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) $(OBJ) -o prog

  obj/%.o:        src/%.c
                  $(CC) $(CFLAGS) -c $< -o $@
  $ make

This works as expected with the patch applied.  Since it is for generic
ABI, default compat symbols are added with override for Linux due LFS.
Now we have two compat symbols for glob on Linux:

  1. sysdeps/unix/sysv/linux/oldglob.c which implements glob64 with
     the old dirent layout.  For this implementation I also set it to
     not follow dangling symlinks (which is the safest path).

  2. sysdeps/unix/sysv/linux/glob{64}-lstat-compat.c which implements
     the compat symbol for dangling symlinks.  As for generic glob,
     the implementation uses XSTAT_IS_XSTAT64 to define whether
     both __glob_lstat_compat and __glob64_lstat_compat should be
     different implementations.  For archictures that define
     XSTAT_IS_XSTAT64, __glob_lstat_compat is aliased to
     __glob64_lstat_compat.

  3. sysdeps/unix/sysv/linux/alpha/oldglob.c with a different glob_t
     layout.  As for 1. this patch changes it to not follow dangling
     symlinks.

The patch also bumps _GNU_GLOB_INTERFACE_VERSION to 2 to advertise the
new semantic.  On GNUmake, for instance, it will force to it use its
internal glob implementation instead and avoiding triggering the same
failure on builds against newer GLIBCs.

Checked on x86_64-linux-gnu and i686-linux-gnu.  I also checked
with a build against the major ABIs required to check for the abilist.

The changes should also work on gnulib (I run gnulib-tool.py check glob
and it shown no regressions).

	[BZ #22183]
	* include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
	version to 2.
	* posix/Makefile (routines): Add glob-lstat-compat and
	glob64-lstat-compat.
	* posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
	* posix/glob-lstat-compat.c: New file.
	* posix/glob64-lstat-compat.c: Likewise.
	* posix/tst-glob_lstat_compat.c: Likewise.
	* sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
	* sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
	* sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
	* posix/glob.c (glob_lstat): New function.
	(glob): Rename to __glob and add versioned symbol to 2.27.
	(glob_in_dir): Use glob_lstat.
	* posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
	* sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
	2.27.
	* sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
	* sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
	* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
	gl_lstat on glob call.
	* sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
	and glob64 symbols.
	* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
	Likewise.
	* sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2017-09-25 18:04:16 -07:00
..
aarch64 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
alpha posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
arm posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
bits Add Linux 4.13 constants to bits/fcntl-linux.h. 2017-09-08 16:20:23 +00:00
generic Hide __chmod and __mkdir [BZ #18822] 2017-09-04 13:38:51 -07:00
hppa posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
i386 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
ia64 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
include Add shim header for bits/syscall.h. 2017-06-01 10:56:10 -04:00
m68k posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
microblaze posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
mips posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
net Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netash Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netatalk Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netax25 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
neteconet Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netinet Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netipx Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netiucv Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netpacket Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netrom Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netrose Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nfs
nios2 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
powerpc posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
s390 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
scsi Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sh posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
sparc posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
sys sys/ptrace.h: remove obsolete Linux PTRACE_SEIZE_DEVEL constant [BZ #21928] 2017-08-09 22:58:45 +00:00
tile posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
wordsize-64 posix: Consolidate Linux glob implementation 2017-09-08 16:34:02 +02:00
x86 Fix mcontext_t sigcontext namespace (bug 21457). 2017-08-30 22:02:04 +00:00
x86_64 posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
_exit.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
_G_config.h Remove __need macros from stdio.h and wchar.h. 2017-06-08 13:58:17 -04:00
a.out.h Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
accept4.c Simplify accept4, recvmmsg, sendmmsg code. 2017-05-09 21:59:36 +00:00
accept.c Consolidate Linux accept implementation 2017-03-09 15:22:06 +01:00
access.c tunables: Use direct syscall for access (BZ#21744) 2017-07-24 11:21:07 -03:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
aio_misc.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
aio_sigqueue.c aio: Remove internal_function function attribute 2017-08-31 15:59:06 +02:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
bind.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
check_native.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
check_pf.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
clock.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
close.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
cmsg_nxthdr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
configure Remove linux/fanotify.h configure test. 2016-02-24 18:44:10 +00:00
configure.ac Remove linux/fanotify.h configure test. 2016-02-24 18:44:10 +00:00
connect.c Consolidate Linux connect implementation 2017-03-09 15:22:06 +01:00
creat64.c Consolidate Linux creat implementation 2017-05-11 17:27:27 -03:00
creat.c Consolidate Linux creat implementation 2017-05-11 17:27:27 -03:00
createthread.c Bug 20116: Fix use after free in pthread_create() 2017-01-28 19:21:44 -05:00
default-sched.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
device-nrs.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dl-brk.c
dl-execstack.c NPTL: Remove internal_function from stack marking functions 2017-08-13 21:11:38 +02:00
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
dl-getcwd.c
dl-librecon.h ld.so: Consolidate 2 strtouls into _dl_strtoul [BZ #21528] 2017-06-08 12:52:42 -07:00
dl-openat64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00: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. 2017-01-01 00:14:16 +00:00
dl-osinfo.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dl-sbrk.c
dl-sysdep.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dl-sysdep.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
dl-vdso.c elf: Remove internal_function attribute 2017-08-31 16:59:37 +02:00
dl-vdso.h elf: Remove internal_function attribute 2017-08-31 16:59:37 +02:00
dl-writev.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
epoll_pwait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
epoll_wait.c Consolidate Linux epoll_wait syscall 2017-05-03 10:36:43 -03:00
errqueue.h Consistently use uintN_t not u_intN_t everywhere. 2017-08-07 19:55:34 +00:00
eventfd_read.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
eventfd_write.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
exit-thread.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
faccessat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fallocate64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fallocate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fatal-prepare.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fchmodat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fcntl.c Remove NO_CANCELLATION macro 2017-08-31 16:10:34 -03:00
fd_to_filename.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fdatasync.c posix: Consolidate Linux fdatasync syscall 2017-05-18 18:06:47 -03:00
fexecve.c Fix fexecve build where syscall macros call sizeof. 2017-09-19 15:50:38 +00:00
filter-nr-syscalls.awk <bits/syscall.h>: Use an arch-independent system call list on Linux 2017-08-28 11:58:52 +02:00
fips-private.h Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
fpathconf.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fstatfs64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fstatvfs64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fstatvfs.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fsync.c posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
ftime.c
ftruncate64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ftruncate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
futex-internal.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
futimens.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
futimes.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
futimesat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstat64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstatat64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gai_sigqueue.c resolv: Remove internal_function attribute 2017-08-31 16:07:52 +02:00
gen-syscall-h.awk <bits/syscall.h>: Use an arch-independent system call list on Linux 2017-08-28 11:58:52 +02:00
gentempfd.c Include <string.h> for strcmp call from sysdeps/unix/sysv/linux/gentempfd.c. 2017-09-01 17:14:43 +00:00
getclktck.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getcwd.c Linux getcwd: Remove internal_function attribute 2017-08-31 15:59:07 +02:00
getdents64.c
getdents.c dirent: Remove internal_function attribute 2017-08-31 16:02:40 +02:00
getdirentries64.c
getdirentries.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getdtsz.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getentropy.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gethostid.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
getipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getloadavg.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
getlogin_r.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpeername.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpriority.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getrandom.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getrlimit64.c Assume prlimit64 is available. 2017-05-09 14:05:09 +00:00
getrlimit.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsockname.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsockopt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsourcefilter.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getsysstats.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
gettimeofday.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
glob64-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
glob64.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
glob-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
glob.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
globfree64.c posix: Consolidate Linux glob implementation 2017-09-08 16:34:02 +02:00
globfree.c posix: Consolidate Linux glob implementation 2017-09-08 16:34:02 +02:00
grantpt.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
if_index.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
ifaddrs.c inet: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Implies Get rid of nptl/sysdeps/pthread/ subdirectory 2014-06-12 13:48:47 -07:00
internal_statvfs64.c
internal_statvfs.c Remove __ASSUME_STATFS_F_FLAGS. 2017-05-12 11:48:37 +00:00
ipc_ops.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
kernel_sigaction.h
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
kernel-features.h Use execveat syscall in fexecve (bug 22134) 2017-09-19 16:19:14 +02:00
kernel-posix-cpu-timers.h
kernel-posix-timers.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ldd-rewrite.sed
lddlibc4.c Update copyright dates not handled by scripts/update-copyrights. 2017-01-01 00:26:24 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
libc_fatal.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
linux_fsinfo.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
listen.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
local-setxid.h
lowlevellock-futex.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lseek64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lseek.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lutimes.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lxstat64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile posix: Sync glob with gnulib [BZ #1062] 2017-09-08 09:39:13 +02:00
malloc-sysdep.h Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
mmap64.c Clean pthread functions namespaces for C11 threads 2017-06-23 17:38:17 -03:00
mmap_internal.h posix: Fix mmap for m68k and ia64 (BZ#21908) 2017-08-14 10:35:14 -03:00
mmap.c posix: Fix mmap for m68k and ia64 (BZ#21908) 2017-08-14 10:35:14 -03:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mq_notify.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
mq_timedreceive.c posix: Consolidate Linux mq_timedreceive syscall 2017-05-18 18:06:47 -03:00
mq_timedsend.c posix: Consolidate Linux mq_timedsend syscall 2017-05-18 18:06:47 -03:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
msgget.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
msgrcv.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
msgsnd.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
msync.c posix: Consolidate Linux msync syscall 2017-05-18 18:06:47 -03:00
nanosleep.c Consolidate non cancellable nanosleep call 2017-08-22 14:25:08 -03:00
netlink_assert_response.c __netlink_assert_response: Remove internal_function attribute 2017-08-13 21:11:28 +02:00
netlinkaccess.h __netlink_assert_response: Remove internal_function attribute 2017-08-13 21:11:28 +02: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 Remove NO_CANCELLATION macro 2017-08-31 16:10:34 -03:00
not-errno.h tunables: Use direct syscall for access (BZ#21744) 2017-07-24 11:21:07 -03:00
nptl-signals.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ntp_gettime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ntp_gettimex.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
olddirent.h posix: Consolidate Linux glob implementation 2017-09-08 16:34:02 +02:00
oldglob.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
open64.c Consolidate non cancellable open call 2017-08-17 16:50:35 -03:00
open_by_handle_at.c linux: Consolidate Linux open_by_handle_at syscall 2017-05-18 18:06:47 -03:00
open.c Consolidate non cancellable open call 2017-08-17 16:50:35 -03:00
openat64.c Consolidate non cancellable openat call 2017-08-18 16:30:05 -03:00
openat.c Consolidate non cancellable openat call 2017-08-18 16:30:05 -03:00
opendir.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
opensock.c __opensock: Remove internal_function attribute 2017-08-17 10:18:15 +02:00
pathconf.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pathconf.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
paths.h Fix small indendation issues in paths.h files 2012-11-04 10:10:58 +01:00
pause.c Consolidate non cancellable pause call 2017-08-22 14:25:03 -03:00
personality.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
poll.c Consolidate Linux poll implementation 2017-05-03 10:36:01 -03:00
posix_fadvise64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
posix_fadvise.c Consolidate arm and mips posix_fadvise implementations 2017-02-06 10:21:55 -02:00
posix_fallocate64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
posix_fallocate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
posix_madvise.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ppoll.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pread64.c posix: Fix internal p{read,write} plt usage 2017-05-02 14:57:40 -03:00
pread.c posix: Fix internal p{read,write} plt usage 2017-05-02 14:57:40 -03:00
preadv2.c posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780) 2017-08-08 09:59:46 -03:00
preadv64.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
preadv64v2.c posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780) 2017-08-08 09:59:46 -03:00
preadv.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
prlimit.c Assume prlimit64 is available. 2017-05-09 14:05:09 +00:00
prof-freq.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
profil.c
pselect.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pt-raise.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_getname.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
pthread_kill.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_setaffinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_setname.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread_sigqueue.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
pthread-pids.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ptrace.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ptsname.c Remove check for NULL buffer passed to `ptsname_r' 2017-06-07 17:37:59 +02:00
pwrite64.c posix: Implement preadv2 and pwritev2 2017-05-31 17:35:46 -03:00
pwrite.c posix: Fix internal p{read,write} plt usage 2017-05-02 14:57:40 -03:00
pwritev2.c posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780) 2017-08-08 09:59:46 -03:00
pwritev64.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
pwritev64v2.c posix: Set p{read,write}v2 to return ENOTSUP (BZ#21780) 2017-08-08 09:59:46 -03:00
pwritev.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
raise.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
read.c Consolidate non cancellable read call 2017-08-18 10:31:16 -03:00
readahead.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00: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. 2017-01-01 00:14:16 +00:00
readv.c Consolidate Linux readv implementation 2017-05-11 17:27:31 -03:00
reboot.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
recv.c Consolidate Linux recv implementation 2017-03-09 15:22:06 +01:00
recvfrom.c Consolidate Linux recvfrom implementation 2017-03-09 15:22:06 +01:00
recvmmsg.c Simplify accept4, recvmmsg, sendmmsg code. 2017-05-09 21:59:36 +00:00
recvmsg.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
remove.c
rename.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
renameat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00: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. 2017-01-01 00:14:16 +00:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sched_getcpu.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
segfault.c
select.c Consolidate Linux select implementation 2017-05-03 10:36:36 -03:00
semctl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
semget.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
semop.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
semtimedop.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
send.c Consolidate Linux send implementation 2017-03-09 15:22:06 +01:00
sendmmsg.c Simplify accept4, recvmmsg, sendmmsg code. 2017-05-09 21:59:36 +00:00
sendmsg.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sendto.c Consolidate Linux sendto implementation 2017-03-09 15:22:06 +01:00
setegid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
seteuid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setgid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setgroups.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
sethostid.c
setipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setregid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setresgid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setresuid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setreuid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
setrlimit64.c Assume prlimit64 is available. 2017-05-09 14:05:09 +00:00
setrlimit.c Assume prlimit64 is available. 2017-05-09 14:05:09 +00:00
setsockopt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setsourcefilter.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
setuid.c Consolidate set* Linux implementation 2017-03-28 12:29:27 -03:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shm-directory.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
shmat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
shmdt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
shmget.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
shutdown.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
siglist.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
signal.c
signalfd.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigreturn.c
sigset-cvt-mask.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigsetops.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigsuspend.c posix: Consolidate Linux sigsuspend implementation 2017-05-18 18:06:47 -03:00
sigtimedwait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
socket.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
socketcall.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
socketpair.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
spawni.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
speed.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
splice.c linux: Consolidate Linux splice syscall 2017-05-18 18:06:47 -03:00
statfs64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
statvfs64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
statvfs.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sync_file_range.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
syscall-names.list Update kernel version in syscall-names.list to 4.13. 2017-09-04 20:16:07 +00:00
syscalls.list posix: Consolidate Linux mq_timedsend syscall 2017-05-18 18:06:47 -03:00
sysconf.c Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
sysctl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sysctl.mk
sysdep-vdso.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sysdep.h Consolidate Linux send implementation 2017-03-09 15:22:06 +01:00
syslog.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
system.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcdrain.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcflow.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcflush.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcgetattr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcgetpgrp.c
tcsendbrk.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tcsetattr.c Clean pthread functions namespaces for C11 threads 2017-06-23 17:38:17 -03:00
tcsetpgrp.c
tee.c linux: Consolidate Linux tee implementation 2017-05-18 18:06:47 -03:00
termio.h
test-errno-linux.c Fix more test-errno issues 2017-03-30 18:23:43 -03:00
time.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_routines.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
times.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
timespec_get.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
truncate64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
truncate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-affinity-pid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-affinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-align-clone.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-clone2.c Use test-driver in sysdeps/unix/sysv/linux/tst-clone2.c 2017-06-07 14:05:42 +02:00
tst-clone3.c Call exit directly in clone (BZ #21512) 2017-06-26 17:52:20 -03:00
tst-clone.c Miscellaneous low-risk changes preparing for _ISOMAC testsuite. 2017-03-01 20:32:50 -05:00
tst-fallocate64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-fallocate-common.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-fallocate.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-fanotify.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-getpid1.c NPTL: Build tests using clone directly only for Linux. 2015-02-06 12:30:23 -08:00
tst-personality.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-quota.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-setgetname.c Remove __ASSUME_PROC_PID_TASK_COMM. 2017-05-08 16:44:54 +00:00
tst-signal-numbers.sh Factor out shared definitions from bits/signum.h. 2017-06-20 20:32:50 -04:00
tst-skeleton-affinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-skeleton-thread-affinity.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-sync_file_range.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-syscall-list.sh <bits/syscall.h>: Use an arch-independent system call list on Linux 2017-08-28 11:58:52 +02:00
tst-thread-affinity-pthread2.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-thread-affinity-pthread.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tst-thread-affinity-sched.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ttyname_r.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
ttyname.c posix: Remove internal_function attribute 2017-08-31 18:52:00 +02:00
ttyname.h linux ttyname and ttyname_r: do not return wrong results 2017-03-19 17:36:13 +00:00
ualarm.c
umount2.S
umount.S
unlockpt.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
ustat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utimensat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utimes.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmp_file.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Versions Consolidate non cancellable close call 2017-08-18 18:38:55 -03:00
vfork.c
vmsplice.c linux: Consolidate Linux vmsplice syscall 2017-05-18 18:06:47 -03:00
wait3.c Flatten sysdeps/unix/bsd/bsd4.4 into sysdeps/unix/bsd. 2013-12-22 14:49:48 +00:00
wait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
waitid.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
waitpid.c Consolidate non cancellable waitpid call 2017-08-21 15:37:45 -03:00
write.c Consolidate non cancellable write call 2017-08-18 10:53:47 -03:00
writev.c Consolidate Linux writev implementation 2017-05-11 17:27:31 -03:00
xmknod.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xmknodat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xstat64.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00