glibc/sysdeps/unix/sysv/linux
H.J. Lu 25123a1c5c x86-64/CET: Extend ucontext_t to save shadow stack
This patch adds a field to ucontext_t to save shadow stack:

1. getcontext and swapcontext are updated to save the caller's shadow
stack pointer and return addresses.
2. setcontext and swapcontext are updated to restore shadow stack and
jump to new context directly.
3. makecontext is updated to allocate a new shadow stack and set the
caller's return address to __start_context.

Since makecontext allocates a new shadow stack when making a new
context and kernel allocates a new shadow stack for clone/fork/vfork
syscalls, we track the current shadow stack base.  In setcontext and
swapcontext, if the target shadow stack base is the same as the current
shadow stack base, we unwind the shadow stack.  Otherwise it is a stack
switch and we look for a restore token.

We enable shadow stack at run-time only if program and all used shared
objects, including dlopened ones, are shadow stack enabled, which means
that they must be compiled with GCC 8 or above and glibc 2.28 or above.
We need to save and restore shadow stack only if shadow stack is enabled.
When caller of getcontext, setcontext, swapcontext and makecontext is
compiled with smaller ucontext_t, shadow stack won't be enabled at
run-time.  We check if shadow stack is enabled before accessing the
extended field in ucontext_t.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

	* sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
	__ssp.
	* sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
	<asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
	(__push___start_context): New.
	* sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
	<asm/prctl.h>.
	(__getcontext): Record the current shadow stack base.  Save the
	caller's shadow stack pointer and base.
	* sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
	<pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
	(__push___start_context): New prototype.
	(__makecontext): Call __push___start_context to allocate a new
	shadow stack, push __start_context onto the new stack as well
	as the new shadow stack.
	* sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
	<asm/prctl.h>.
	(__setcontext): Restore the target shadow stack.
	* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
	<asm/prctl.h>.
	(__swapcontext): Record the current shadow stack base.  Save
	the caller's shadow stack pointer and base.  Restore the target
	shadow stack.
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h
	(STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
2018-07-25 06:37:31 -07:00
..
aarch64 nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
alpha alpha: mlock2, copy_file_range syscalls were introduced in kernel 4.13 2018-07-24 22:38:39 +02:00
arm nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
bits Add SHM_STAT_ANY from Linux 4.17 to bits/shm.h. 2018-06-18 13:37:57 +00:00
generic Add SHM_STAT_ANY from Linux 4.17 to bits/shm.h. 2018-06-18 13:37:57 +00:00
hppa nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
i386 nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
ia64 nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
include Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
m68k nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
microblaze nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
mips nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
net Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netash Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netatalk Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netax25 Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
neteconet Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netinet Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netipx Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netiucv Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netpacket Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netrom Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netrose Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nfs
nios2 nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
powerpc nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
riscv nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
s390 nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
scsi Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sh sh: Do not define __ASSUME_STATX 2018-07-24 21:05:07 +02:00
sparc nptl: Add abilist symbols for C11 threads 2018-07-24 14:07:18 -03:00
sys Add PTRACE_SECCOMP_GET_METADATA from Linux 4.16 to sys/ptrace.h. 2018-04-24 12:11:35 +00:00
wordsize-64 Consolidate Linux readahead implementation 2018-04-27 17:38:43 -03:00
x86 x86-64/CET: Extend ucontext_t to save shadow stack 2018-07-25 06:37:31 -07:00
x86_64 x86-64/CET: Extend ucontext_t to save shadow stack 2018-07-25 06:37:31 -07:00
Implies
Makefile Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
Versions
_G_config.h Post-cleanup 2: minimize _G_config.h. 2018-02-07 10:10:32 -05:00
_exit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
a.out.h
accept.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
accept4.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
access.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
aio_misc.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
aio_sigqueue.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
alphasort64.c Consolidate alphasort{64} and versionsort{64} implementation 2018-04-23 17:35:16 -03:00
arch-fork.h sparc: Fix arch_fork definition 2018-03-27 21:28:58 -03:00
bind.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
check_native.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
check_pf.c Linux: Create Netlink socket with SOCK_CLOEXEC in __check_pf [BZ #15722] 2018-06-18 15:24:55 +02:00
clock.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clock_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clock_gettime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clock_nanosleep.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
clock_settime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
close.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
close_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
cmsg_nxthdr.c Use libc_hidden_* for __cmsg_nxthdr (bug 15105). 2018-02-15 20:59:12 +00:00
configure
configure.ac
connect.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
copy_file_range.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
creat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
creat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
createthread.c Refactor Linux ARCH_FORK implementation 2018-03-07 17:39:40 -03:00
default-sched.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
device-nrs.h Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
dl-brk.c
dl-execstack.c elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787] 2018-02-21 10:37:22 +01:00
dl-fxstatat64.c
dl-getcwd.c
dl-librecon.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-openat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-opendir.c
dl-origin.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-osinfo.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-sbrk.c
dl-sysdep.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
dl-sysdep.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-vdso.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
dl-vdso.h Add linux-4.15 VDSO hash for RISC-V 2018-01-06 23:35:56 -08:00
dl-writev.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
epoll_pwait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
epoll_wait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
errqueue.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
eventfd_read.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
eventfd_write.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
exit-thread.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
faccessat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fallocate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fallocate64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fatal-prepare.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fchmodat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fcntl.c Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
fcntl64.c Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
fcntl_nocancel.c Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
fd_to_filename.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fdatasync.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fexecve.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
filter-nr-syscalls.awk Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fips-private.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fpathconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fstatfs64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fstatvfs.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fstatvfs64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fsync.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ftime.c
ftruncate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ftruncate64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
futex-internal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
futimens.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
futimes.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
futimesat.c Add missing start-of-file descriptive comment. 2018-03-06 09:21:04 +01:00
fxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fxstat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fxstatat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gai_sigqueue.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gen-syscall-h.awk Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gentempfd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getclktck.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getcwd.c linux: make getcwd(3) fail if it cannot obtain an absolute path [BZ #22679] 2018-01-12 14:49:49 +00:00
getdents.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getdents64.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getdirentries.c Consolidate getdirentries{64} implementation 2018-04-25 17:55:33 -03:00
getdirentries64.c Consolidate getdirentries{64} implementation 2018-04-25 17:55:33 -03:00
getdtsz.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getentropy.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gethostid.c gethostid (Linux variant): Switch to struct scratch_buffer [BZ #18023] 2018-06-27 17:55:38 +02:00
getipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getloadavg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getlogin.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getlogin_r.c getlogin_r: return early when linux sentinel value is set 2018-03-27 21:28:36 -03:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpeername.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpriority.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getpt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getrandom.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getrlimit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getrlimit64.c getrlimit64: fix for 32-bit configurations with default version >= 2.2 2018-01-07 20:33:32 +01:00
getsockname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsockopt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsourcefilter.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsourcefilter.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
gettimeofday.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob-lstat-compat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob64-lstat-compat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
glob64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globfree.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
globfree64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
grantpt.c
if_index.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ifaddrs.c getifaddrs: Don't return ifa entries with NULL names [BZ #21812] 2018-06-29 09:44:55 +02:00
ifreq.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
internal-signals.h Filter out NPTL internal signals (BZ #22391) 2018-04-03 13:30:49 -03:00
internal_statvfs.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
internal_statvfs.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
internal_statvfs64.c
ipc_ops.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
kernel-features.h Add the statx function 2018-07-10 16:14:45 +02:00
kernel-posix-cpu-timers.h
kernel-posix-timers.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
kernel_sigaction.h linux: Consolidate sigaction implementation 2018-04-05 17:09:50 -03:00
kernel_stat.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ldd-rewrite.sed
lddlibc4.c Update copyright dates not handled by scripts/update-copyrights. 2018-01-01 00:41:16 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
libc_fatal.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
linux_fsinfo.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
listen.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
local-setxid.h
lowlevellock-futex.h nptl: Remove __ASSUME_PRIVATE_FUTEX 2018-05-17 04:25:10 -07:00
lseek.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lseek64.c Make llseek a compat symbol (bug 18471). 2018-05-22 15:44:01 +00:00
lutimes.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
lxstat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
malloc-sysdep.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mlock2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mmap.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mmap64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mmap_internal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_close.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_getattr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_notify.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_open.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_receive.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_send.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_timedreceive.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_timedsend.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
mq_unlink.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msgget.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msgrcv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msgsnd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
msync.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nanosleep.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
nanosleep_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
netlink_assert_response.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netlinkaccess.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nice.c
not-cancel.h Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
not-errno.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
nscd_setup_thread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ntp_gettime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ntp_gettimex.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
olddirent.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
oldglob.c
open.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
open64.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
open64_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
open_by_handle_at.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
open_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
openat.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
openat64.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
openat64_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
openat_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
opensock.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pathconf.c Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
pathconf.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
paths.h
pause.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
pause_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
personality.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pkey_get.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pkey_mprotect.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pkey_set.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
poll.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
posix_fadvise.c Remove tilegx port. 2018-04-27 19:11:24 +00:00
posix_fadvise64.c Remove tilegx port. 2018-04-27 19:11:24 +00:00
posix_fallocate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
posix_fallocate64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
posix_madvise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ppoll.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pread64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
preadv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
preadv2.c preadv2/pwritev2: Handle offset == -1 [BZ #22753] 2018-02-02 10:46:26 +01:00
preadv64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
preadv64v2.c preadv2/pwritev2: Handle offset == -1 [BZ #22753] 2018-02-02 10:46:26 +01:00
prlimit.c prlimit: Translate old_rlimit from RLIM64_INFINITY to RLIM_INFINITY [BZ #22678] 2018-01-05 20:34:10 +01:00
prof-freq.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
profil.c
pselect.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pt-raise.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread-pids.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_getcpuclockid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_getname.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
pthread_kill.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_setaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_setname.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pthread_sigqueue.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ptrace.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ptsname.c Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
pwrite.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pwrite64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pwritev.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pwritev2.c preadv2/pwritev2: Handle offset == -1 [BZ #22753] 2018-02-02 10:46:26 +01:00
pwritev64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
pwritev64v2.c preadv2/pwritev2: Handle offset == -1 [BZ #22753] 2018-02-02 10:46:26 +01:00
raise.c Rename nptl-signals.h to internal-signals.h 2018-02-22 16:43:59 -03:00
read.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
read_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
readahead.c Consolidate Linux readahead implementation 2018-04-27 17:38:43 -03:00
readdir.c Consolidate Linux readdir{64}{_r} implementation 2018-04-06 17:49:02 -03:00
readdir64.c Consolidate Linux readdir{64}{_r} implementation 2018-04-06 17:49:02 -03:00
readdir64_r.c Consolidate Linux readdir{64}{_r} implementation 2018-04-06 17:49:02 -03:00
readdir_r.c Consolidate Linux readdir{64}{_r} implementation 2018-04-06 17:49:02 -03:00
readonly-area.c Fix -Os feof_unlocked linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-15 20:57:15 +00:00
readv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
reboot.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
recv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
recvfrom.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
recvmmsg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
recvmsg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
remove.c
rename.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
renameat.c Add renameat2 function [BZ #17662] 2018-07-05 19:00:10 +02:00
renameat2.c Add renameat2 function [BZ #17662] 2018-07-05 19:00:10 +02:00
sa_len.c
safe-fatal.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
scandir64.c Consolidate scandir{at}{64} implementation 2018-04-20 13:57:12 -03:00
sched_getaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_getcpu.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sched_setaffinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
segfault.c
select.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
semctl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
semget.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
semop.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
semtimedop.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
send.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sendmmsg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sendmsg.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sendto.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setegid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
seteuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setgroups.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sethostid.c
setipv4sourcefilter.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setregid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setresgid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setresuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setreuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setrlimit.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setrlimit64.c Alpha: Fix the RLIM_INFINITY and RLIM64_INFINITY constants 2018-01-05 20:34:10 +01:00
setsockopt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setsourcefilter.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
setuid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shlib-versions
shm-directory.c libc: Extend __libc_freeres framework (Bug 23329). 2018-06-29 22:39:06 -04:00
shmat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shmdt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shmget.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
shutdown.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigaction.c linux: Consolidate sigaction implementation 2018-04-05 17:09:50 -03:00
siglist.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
signal.c
signalfd.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigpending.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigqueue.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigreturn.c
sigset-cvt-mask.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigsetops.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigstack.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigtimedwait.c Filter out NPTL internal signals (BZ #22391) 2018-04-03 13:30:49 -03:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sigwaitinfo.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
socket.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
socketcall.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
socketpair.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
spawni.c posix: Fix posix_spawnp to not execute invalid binaries in non compat mode (BZ#23264) 2018-06-08 17:27:46 -03:00
speed.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
splice.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statfs64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statvfs.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statvfs64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
statx.c Add the statx function 2018-07-10 16:14:45 +02:00
sync_file_range.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syscall-names.list Update kernel version in syscall-names.list to 4.17. 2018-06-05 11:03:22 +00:00
syscalls.list Obsolete nfsservctl. 2018-05-18 16:50:44 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysctl.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysctl.mk
sysdep-cancel.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysdep-vdso.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sysdep.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
syslog.c
system.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcdrain.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcflow.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcflush.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcgetattr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcgetpgrp.c
tcsendbrk.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcsetattr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tcsetpgrp.c
tee.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
termio.h
test-errno-linux.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
time.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_create.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_delete.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_getoverr.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_gettime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_routines.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timer_settime.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
times.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
timespec_get.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
truncate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
truncate64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-affinity-pid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-affinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-align-clone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-clone.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-clone2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-clone3.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fallocate-common.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fallocate.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fallocate64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-fanotify.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-getpid1.c
tst-memfd_create.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-mlock2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-ofdlocks-compat.c Comment tst-ofdlocks-compat expected failure in some Linux releases 2018-07-10 10:28:39 -03:00
tst-ofdlocks.c Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
tst-personality.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-pkey.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-quota.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-rlimit-infinity.c Add test for getrlimit/setrlimit/prlimit with infinity value 2018-01-05 20:34:10 +01:00
tst-setgetname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-signal-numbers.sh Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-skeleton-affinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-skeleton-thread-affinity.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sync_file_range.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-syscall-list.sh Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sysconf-iov_max-uapi.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-sysconf-iov_max.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-thread-affinity-pthread.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-thread-affinity-pthread2.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-thread-affinity-sched.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
tst-ttyname.c tst-ttyname: skip the test when /dev/ptmx is not available 2018-01-08 22:02:53 +00:00
ttyname.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ttyname.h Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463). 2018-02-07 14:57:31 +00:00
ttyname_r.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ualarm.c
umount.c Unify umount function implementations (bug 16552). 2018-03-26 21:18:28 +00:00
umount2.S
unlockpt.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ustat.c Deprecate ustat syscall interface 2018-05-02 08:43:31 -03:00
utimensat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
utimes.c Add missing start-of-file descriptive comment. 2018-03-06 09:21:04 +01:00
utmp_file.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
versionsort64.c Consolidate alphasort{64} and versionsort{64} implementation 2018-04-23 17:35:16 -03:00
vfork.c
vmsplice.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
wait3.c
waitid.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
waitpid.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
waitpid_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
write.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
write_nocancel.c Avoid cancellable I/O primitives in ld.so. 2018-06-12 09:53:04 -04:00
writev.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xmknod.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xmknodat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstat64.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00