glibc/nptl
H.J. Lu d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3
The clone3 system call (since Linux 5.3) provides a superset of the
functionality of clone and clone2.  It also provides a number of API
improvements, including the ability to specify the size of the child's
stack area which can be used by kernel to compute the shadow stack size
when allocating the shadow stack.  Add:

extern int __clone_internal (struct clone_args *__cl_args,
			     int (*__func) (void *__arg), void *__arg);

to provide an abstract interface for clone, clone2 and clone3.

1. Simplify stack management for thread creation by passing both stack
base and size to create_thread.
2. Consolidate clone vs clone2 differences into a single file.
3. Call __clone3 if HAVE_CLONE3_WAPPER is defined.  If __clone3 returns
-1 with ENOSYS, fall back to clone or clone2.
4. Use only __clone_internal to clone a thread.  Since the stack size
argument for create_thread is now unconditional, always pass stack size
to create_thread.
5. Enable the public clone3 wrapper in the future after it has been
added to all targets.

NB: Sandbox will return ENOSYS on clone3 in both Chromium:

The following revision refers to this bug:
  218438259d

commit 218438259dd795456f0a48f67cbe5b4e520db88b
Author: Matthew Denton <mpdenton@chromium.org>
Date: Thu Jun 03 20:06:13 2021

Linux sandbox: return ENOSYS for clone3

Because clone3 uses a pointer argument rather than a flags argument, we
cannot examine the contents with seccomp, which is essential to
preventing sandboxed processes from starting other processes. So, we
won't be able to support clone3 in Chromium. This CL modifies the
BPF policy to return ENOSYS for clone3 so glibc always uses the fallback
to clone.

Bug: 1213452
Change-Id: I7c7c585a319e0264eac5b1ebee1a45be2d782303
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2936184
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Matthew Denton <mpdenton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#888980}

[modify] https://crrev.com/218438259dd795456f0a48f67cbe5b4e520db88b/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc

and Firefox:

https://hg.mozilla.org/integration/autoland/rev/ecb4011a0c76

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2021-07-14 06:33:58 -07:00
..
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
allocatestack.c Add an internal wrapper for clone, clone2 and clone3 2021-07-14 06:33:58 -07:00
cancellation.c nptl: Move cancel type out of cancelhandling 2021-06-09 15:16:45 -03:00
cleanup_compat.c nptl: Export _pthread_cleanup_push, _pthread_cleanup_pop again 2021-06-15 21:19:16 +02:00
cleanup_defer_compat.c nptl: Move legacy cancelation handling into libc as compat symbols 2021-04-21 19:49:50 +02:00
cleanup_defer.c nptl: Move cancel type out of cancelhandling 2021-06-09 15:16:45 -03:00
cleanup_routine.c nptl: Move __pthread_cleanup_routine into libc 2021-04-21 19:49:50 +02:00
cleanup.c nptl: Move __pthread_register_cancel, __pthread_unregister_cancel to libc 2021-05-11 20:20:58 +02:00
cond-perf.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
default-sched.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
descr.h nptl: Move cancel type out of cancelhandling 2021-06-09 15:16:45 -03:00
DESIGN-systemtap-probes.txt nptl: Add POSIX-proposed pthread_mutex_clocklock 2019-07-12 13:36:25 +00:00
elision-conf.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-conf.h Add the low level infrastructure for pthreads lock elision with TSX 2013-07-02 08:46:54 -07:00
elision-lock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-timed.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-trylock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
elision-unlock.c nptl: Move elision implementations into libc 2021-02-23 14:59:34 +01:00
errno-loc.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
events.c nptl: Move __nptl_create_event, __nptl_death_event into libc 2021-05-17 10:06:44 +02:00
futex-internal.c linux: Only use 64-bit syscall if required for internal futex 2021-06-22 12:09:52 -03:00
libc_multiple_threads.c Force building with -fno-common 2021-07-09 20:09:14 +02:00
libc-cleanup.c nptl: Move cancel type out of cancelhandling 2021-06-09 15:16:45 -03:00
libpthread-compat.c nptl: Remove remaining code from libpthread 2021-05-21 22:35:01 +02:00
lowlevellock.c Force building with -fno-common 2021-07-09 20:09:14 +02:00
Makefile Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00
nptl_deallocate_tsd.c nptl: Move __nptl_deallocate_tsd into libc 2021-04-21 19:49:50 +02:00
nptl_free_tcb.c nptl: Move __free_tcb into libc 2021-05-11 11:24:36 +02:00
nptl_lock_constants.pysym New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nptl_nthreads.c nptl: Move internal __nptl_nthreads variable into libc 2021-04-21 19:49:50 +02:00
nptl_setxid.c nptl: Move setxid broadcast implementation into libc 2021-04-21 19:49:51 +02:00
nptl-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
nptl-stack.c nptl: Add glibc.pthread.stack_cache_size tunable 2021-06-28 16:41:58 +02:00
nptl-stack.h nptl: Add glibc.pthread.stack_cache_size tunable 2021-06-28 16:41:58 +02:00
nptlfreeres.c nptl: Move stack cache management, __libpthread_freeres into libc 2021-05-11 11:22:33 +02:00
old_pthread_cond_broadcast.c nptl: Move core condition variable functions into libc 2021-04-21 19:49:51 +02:00
old_pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
old_pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
old_pthread_cond_signal.c nptl: Move core condition variable functions into libc 2021-04-21 19:49:51 +02:00
old_pthread_cond_timedwait.c nptl: Move core condition variable functions into libc 2021-04-21 19:49:51 +02:00
old_pthread_cond_wait.c nptl: Move core condition variable functions into libc 2021-04-21 19:49:51 +02:00
perf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_copy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_extension.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getaffinity.c nptl: Move pthread_attr_getaffinity_np into libc 2021-05-11 19:32:56 +02:00
pthread_attr_getdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getguardsize.c nptl: Move pthread_attr_getguardsize into libc 2021-05-11 19:33:10 +02:00
pthread_attr_getinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_getstack.c nptl: Move pthread_attr_getstack into libc 2021-05-11 19:33:11 +02:00
pthread_attr_getstackaddr.c nptl: Move pthread_attr_getstackaddr into libc 2021-05-11 19:33:13 +02:00
pthread_attr_getstacksize.c nptl: Move pthread_attr_getstacksize into libc 2021-05-11 19:33:14 +02:00
pthread_attr_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setdetachstate.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setguardsize.c nptl: Move pthread_attr_setguardsize into libc 2021-05-11 19:33:15 +02:00
pthread_attr_setinheritsched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setschedpolicy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setscope.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setsigmask_internal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setsigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_attr_setstack.c nptl: Move pthread_attr_setstack into libc 2021-05-11 19:33:17 +02:00
pthread_attr_setstackaddr.c nptl: Move pthread_attr_setstackaddr into libc 2021-05-11 19:33:19 +02:00
pthread_attr_setstacksize.c nptl: Move pthread_attr_setstacksize into libc 2021-05-11 19:33:20 +02:00
pthread_barrier_destroy.c nptl: Move pthread_barrier_destroy into libc 2021-05-06 15:56:37 +02:00
pthread_barrier_init.c nptl: Reduce the GLIBC_PRIVATE ABI 2021-07-07 08:41:21 +02:00
pthread_barrier_wait.c nptl: Reduce the GLIBC_PRIVATE ABI 2021-07-07 08:41:21 +02:00
pthread_barrierattr_destroy.c nptl: Move pthread_barrierattr_destroy into libc 2021-05-06 15:56:37 +02:00
pthread_barrierattr_getpshared.c nptl: Move pthread_barrierattr_getpshared into libc 2021-05-06 15:56:37 +02:00
pthread_barrierattr_init.c nptl: Move pthread_barrierattr_init into libc 2021-05-06 15:56:37 +02:00
pthread_barrierattr_setpshared.c nptl: Move pthread_barrierattr_setpshared into libc 2021-05-06 15:56:37 +02:00
pthread_cancel.c nptl: Use SA_RESTART for SIGCANCEL handler 2021-06-23 13:45:13 -03:00
pthread_cleanup_upto.c nptl: Move __pthread_cleanup_upto into libc 2021-04-21 19:49:50 +02:00
pthread_clockjoin.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_cond_broadcast.c nptl: Move cnd_broadcast into libc 2021-05-03 08:14:17 +02:00
pthread_cond_common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_cond_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_cond_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_cond_signal.c nptl: Move cnd_signal into libc 2021-05-03 08:14:49 +02:00
pthread_cond_wait.c nptl: Reduce the GLIBC_PRIVATE ABI 2021-07-07 08:41:21 +02:00
pthread_condattr_destroy.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_condattr_getclock.c nptl: Move pthread_condattr_getclock into libc 2021-04-23 10:55:07 +02:00
pthread_condattr_getpshared.c nptl: Move pthread_condattr_getpshared into libc 2021-04-23 11:00:53 +02:00
pthread_condattr_init.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_condattr_setclock.c nptl: Move pthread_condattr_setclock into libc 2021-04-23 11:02:54 +02:00
pthread_condattr_setpshared.c nptl: Move pthread_condattr_setpshared into libc 2021-04-23 11:17:10 +02:00
pthread_create.c Add an internal wrapper for clone, clone2 and clone3 2021-07-14 06:33:58 -07:00
pthread_detach.c nptl: Move pthread_detach, thrd_detach into libc 2021-05-11 11:24:39 +02:00
pthread_equal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_exit.c nptl: Move pthread_exit into libc 2021-04-21 19:49:50 +02:00
pthread_getaffinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_getattr_default_np.c nptl: Move pthread_create, thrd_create into libc 2021-05-21 22:35:00 +02:00
pthread_getattr_np.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_getconcurrency.c nptl: Move pthread_getconcurrency, pthread_setconcurrency into libc 2021-05-11 20:33:14 +02:00
pthread_getcpuclockid.c nptl: Move pthread_getcpuclockid into libc 2021-05-17 10:25:11 +02:00
pthread_getname.c nptl: Move pthread_getname_np into libc 2021-05-17 10:25:12 +02:00
pthread_getschedparam.c Linux: Move aio_init from librt into libc 2021-06-25 11:48:25 +02:00
pthread_getspecific.c nptl: Move tss_get into libc 2021-05-03 08:18:01 +02:00
pthread_join_common.c nptl: Move cancel state out of cancelhandling 2021-06-09 15:16:45 -03:00
pthread_join.c nptl: Move thread join functions into libc 2021-05-11 11:24:39 +02:00
pthread_key_create.c nptl: Move pthread_key_create, __pthread_key_create into libc 2021-04-21 19:49:51 +02:00
pthread_key_delete.c nptl: Move tss_delete into libc 2021-05-03 08:17:38 +02:00
pthread_keys.c Force building with -fno-common 2021-07-09 20:09:14 +02:00
pthread_kill_other_threads.c nptl: Move pthread_kill_other_threads_np compatibility symbol into libc 2021-04-22 19:50:16 +02:00
pthread_kill.c nptl: Use pthread_kill on pthread_cancel 2021-06-09 15:16:45 -03:00
pthread_mutex_cond_lock.c nptl: Move core mutex functions into libc 2021-04-21 19:49:51 +02:00
pthread_mutex_conf.c nptl: Add glibc.pthread.stack_cache_size tunable 2021-06-28 16:41:58 +02:00
pthread_mutex_consistent.c nptl: Move pthread_mutex_consistent into libc 2021-04-21 19:49:50 +02:00
pthread_mutex_destroy.c nptl: Move mtx_destroy into libc 2021-05-03 08:15:15 +02:00
pthread_mutex_getprioceiling.c nptl: Move pthread_mutex_getprioceiling into libc 2021-04-23 09:42:51 +02:00
pthread_mutex_init.c nptl: Move mtx_init into libc 2021-05-03 08:15:22 +02:00
pthread_mutex_lock.c nptl: Remove GLIBC_2.34 versions of __pthread_mutex_lock, __pthread_mutex_unlock 2021-07-07 08:41:17 +02:00
pthread_mutex_setprioceiling.c nptl: Move pthread_mutex_setprioceiling into libc 2021-04-23 09:43:08 +02:00
pthread_mutex_timedlock.c nptl: Reduce the GLIBC_PRIVATE ABI 2021-07-07 08:41:21 +02:00
pthread_mutex_trylock.c nptl: Move mtx_trylock into libc 2021-05-03 08:15:58 +02:00
pthread_mutex_unlock.c nptl: Remove GLIBC_2.34 versions of __pthread_mutex_lock, __pthread_mutex_unlock 2021-07-07 08:41:17 +02:00
pthread_mutexattr_destroy.c nptl: Move pthread_mutexattr_destroy into libc 2021-04-23 09:44:49 +02:00
pthread_mutexattr_getprioceiling.c nptl: Move pthread_mutexattr_getprioceiling into libc 2021-04-23 09:45:09 +02:00
pthread_mutexattr_getprotocol.c nptl: Move pthread_mutexattr_getprotocol into libc 2021-04-23 09:45:29 +02:00
pthread_mutexattr_getpshared.c nptl: Move pthread_mutexattr_getpshared into libc 2021-04-23 09:45:48 +02:00
pthread_mutexattr_getrobust.c nptl: Move pthread_mutexattr_getrobust into libc 2021-04-23 09:46:03 +02:00
pthread_mutexattr_gettype.c nptl: Move pthread_mutexattr_gettype into libc 2021-04-23 09:51:19 +02:00
pthread_mutexattr_init.c nptl: Move mtx_init into libc 2021-05-03 08:15:22 +02:00
pthread_mutexattr_setprioceiling.c nptl: Move pthread_mutexattr_setprioceiling into libc 2021-04-23 09:51:57 +02:00
pthread_mutexattr_setprotocol.c nptl: Move pthread_mutexattr_setprotocol into libc 2021-04-23 09:51:57 +02:00
pthread_mutexattr_setpshared.c nptl: Move pthread_mutexattr_setpshared into libc 2021-04-23 09:51:57 +02:00
pthread_mutexattr_setrobust.c nptl: Move pthread_mutexattr_setrobust into libc 2021-04-23 09:51:57 +02:00
pthread_mutexattr_settype.c nptl: Move mtx_init into libc 2021-05-03 08:15:22 +02:00
pthread_once.c nptl: Move call_once into libc 2021-05-03 08:14:01 +02:00
pthread_rwlock_clockrdlock.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_rwlock_clockwrlock.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_rwlock_common.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_rwlock_destroy.c nptl: Move pthread_rwlock_destroy into libc 2021-05-03 09:17:36 +02:00
pthread_rwlock_init.c nptl: Move pthread_rwlock_init into libc 2021-05-03 09:17:59 +02:00
pthread_rwlock_rdlock.c nptl: Move rwlock functions with forwarders into libc 2021-04-21 19:49:51 +02:00
pthread_rwlock_timedrdlock.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_rwlock_timedwrlock.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_rwlock_tryrdlock.c nptl: Move pthread_rwlock_tryrdlock into libc 2021-05-03 09:18:16 +02:00
pthread_rwlock_trywrlock.c nptl: Move pthread_rwlock_trywrlock into libc 2021-05-03 09:18:20 +02:00
pthread_rwlock_unlock.c nptl: Move rwlock functions with forwarders into libc 2021-04-21 19:49:51 +02:00
pthread_rwlock_wrlock.c nptl: Move rwlock functions with forwarders into libc 2021-04-21 19:49:51 +02:00
pthread_rwlockattr_destroy.c nptl: Move pthread_rwlockattr_destroy into libc 2021-05-03 09:18:25 +02:00
pthread_rwlockattr_getkind_np.c nptl: Move pthread_rwlockattr_getkind_np into libc 2021-05-03 09:18:31 +02:00
pthread_rwlockattr_getpshared.c nptl: Move pthread_rwlockattr_getpshared into libc 2021-05-03 09:18:35 +02:00
pthread_rwlockattr_init.c nptl: Move pthread_rwlockattr_init into libc 2021-05-03 09:18:38 +02:00
pthread_rwlockattr_setkind_np.c nptl: Move pthread_rwlockattr_setkind_np into libc 2021-05-03 09:18:42 +02:00
pthread_rwlockattr_setpshared.c nptl: Move pthread_rwlockattr_setpshared into libc 2021-05-03 09:18:45 +02:00
pthread_self.c nptl: Implement raise in terms of pthread_kill 2021-06-09 15:16:45 -03:00
pthread_setaffinity.c nptl: Move pthread_setaffinity_np into libc 2021-05-17 10:25:12 +02:00
pthread_setattr_default_np.c nptl: Move pthread_setattr_default_np into libc 2021-05-11 11:10:03 +02:00
pthread_setcancelstate.c nptl: Move cancel state out of cancelhandling 2021-06-09 15:16:45 -03:00
pthread_setcanceltype.c nptl: Move cancel type out of cancelhandling 2021-06-09 15:16:45 -03:00
pthread_setconcurrency.c nptl: Move pthread_getconcurrency, pthread_setconcurrency into libc 2021-05-11 20:33:14 +02:00
pthread_setname.c nptl: Move pthread_setname_np into libc 2021-05-17 10:25:12 +02:00
pthread_setschedparam.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_setschedprio.c nptl: Move pthread_setschedprio into libc 2021-05-17 10:25:12 +02:00
pthread_setspecific.c nptl: Move tss_set into libc 2021-05-03 08:18:08 +02:00
pthread_sigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pthread_sigqueue.c nptl: Move pthread_sigqueue into libc 2021-05-17 10:25:12 +02:00
pthread_spin_destroy.c nptl: Move pthread_spin_destroy into libc 2021-04-23 17:06:42 +02:00
pthread_spin_init.c nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
pthread_spin_lock.c nptl: Move pthread_spin_lock into libc 2021-04-23 17:06:46 +02:00
pthread_spin_trylock.c nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
pthread_spin_unlock.c nptl: Move pthread_spin_init, Move pthread_spin_unlock into libc 2021-04-23 17:06:44 +02:00
pthread_testcancel.c nptl: Reduce the GLIBC_PRIVATE ABI 2021-07-07 08:41:21 +02:00
pthread_timedjoin.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
pthread_tryjoin.c nptl: Move thread join functions into libc 2021-05-11 11:24:39 +02:00
pthread_yield.c nptl: Move pthread_yield into libc, as a compatibility symbol 2021-05-03 09:23:44 +02:00
pthread-pi-defines.sym Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
sem_clockwait.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
sem_destroy.c nptl: Move sem_destroy into libc 2021-05-05 17:19:40 +02:00
sem_getvalue.c nptl: Move sem_getvalue into libc 2021-05-05 17:19:43 +02:00
sem_init.c nptl: Move sem_init into libc 2021-05-05 17:19:45 +02:00
sem_post.c nptl: Move sem_post into libc 2021-05-05 17:19:47 +02:00
sem_timedwait.c y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
sem_wait.c nptl: Move sem_trywait, sem_wait into libc 2021-05-05 17:19:53 +02:00
sem_waitcommon.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
semaphoreP.h nptl: Move sem_timedwait into libc 2021-05-05 17:19:48 +02:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
test-cond-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-cond-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-condattr-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-condattr-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-mutex-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-mutex-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-mutexattr-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-mutexattr-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-rwlock-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-rwlock-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-rwlockattr-printers.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-rwlockattr-printers.py Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
thrd_current.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
thrd_yield.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
TODO * version.h (VERSION): Define to 6. 2007-05-15 06:49:29 +00:00
TODO-kernel Update. 2003-09-29 22:23:14 +00:00
TODO-testing
tpp.c nptl: Move the internal thread priority protection symbols into libc 2021-04-21 19:49:51 +02:00
tst-attr2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-attr3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-audit-threads-mod1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-audit-threads-mod2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-audit-threads.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-audit-threads.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-barrier5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cancel4_1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cancel4_2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cancel4_2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cancel7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cancel17.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cancel24-static.cc Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-cancel24.cc * include/stdlib.h: Make even more C++ compliant. 2006-01-04 09:26:31 +00:00
tst-cancelx7.c
tst-cancelx17.c
tst-cleanup4.c nptl: Move legacy cancelation handling into libc as compat symbols 2021-04-21 19:49:50 +02:00
tst-cleanup4aux.c nptl: Move legacy cancelation handling into libc as compat symbols 2021-04-21 19:49:50 +02:00
tst-cleanupx4.c Update. 2003-11-06 04:29:42 +00:00
tst-cleanupx4aux.c Compile tst-cleanupx4 test with -fexceptions 2016-06-29 20:24:44 -07:00
tst-clock2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-compat-forwarder-mod.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-compat-forwarder.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-cond22.c htl: Enable more tests 2020-06-07 13:35:54 +02:00
tst-cond26.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-context1.c Define PTHREAD_STACK_MIN to sysconf(_SC_THREAD_STACK_MIN) 2021-07-09 15:10:35 -07:00
tst-default-attr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-dlsym1.c
tst-eintr1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-exec4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-exec5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-execstack-mod.c Update. 2003-09-24 08:33:01 +00:00
tst-execstack.c Test for changing stack exec permission. 2003-09-24 03:07:10 +00:00
tst-initializers1-c11.c Add -std=gnu11 and -std=c11 NPTL initializers tests. 2015-10-27 21:48:34 +00:00
tst-initializers1-c89.c * tst-initializers1-c89.c: New file. 2006-01-09 23:05:00 +00:00
tst-initializers1-c99.c * tst-initializers1-c89.c: New file. 2006-01-09 23:05:00 +00:00
tst-initializers1-gnu11.c Add -std=gnu11 and -std=c11 NPTL initializers tests. 2015-10-27 21:48:34 +00:00
tst-initializers1-gnu89.c * tst-initializers1-c89.c: New file. 2006-01-09 23:05:00 +00:00
tst-initializers1-gnu99.c * tst-initializers1-c89.c: New file. 2006-01-09 23:05:00 +00:00
tst-initializers1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-minstack-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-minstack-exit.c Reduce <limits.h> pollution due to dynamic PTHREAD_STACK_MIN 2021-07-12 18:43:32 +02:00
tst-minstack-throw.cc Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mutex5a.c Update. 2004-03-24 06:36:06 +00:00
tst-mutex7a.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutex8-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-mutex8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mutexpi1.c Fix -Waddress warnings in nptl/tst-mutex1.c. 2014-12-02 22:33:57 +00:00
tst-mutexpi2.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi3.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi4.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi5.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi5a.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi6.c Remove warnings in NPTL tests 2011-10-24 21:43:33 -04:00
tst-mutexpi7.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi7a.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi8-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-mutexpi8.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi9.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-mutexpi10.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-mutexpp1.c Fix -Waddress warnings in nptl/tst-mutex1.c. 2014-12-02 22:33:57 +00:00
tst-mutexpp5.c nptl: Fix PTHREAD_PRIO_PROTECT timed lock 2020-11-27 09:59:13 -03:00
tst-mutexpp6.c Get rid of warning comparision will always evaluate as true 2014-12-12 11:14:00 +01:00
tst-mutexpp9.c nptl: Fix PTHREAD_PRIO_PROTECT timed lock 2020-11-27 09:59:13 -03:00
tst-mutexpp10.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-oddstacklimit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-once5.cc [PATCH] pthread_once hangs when init routine throws an exception [BZ #18435] 2021-03-04 15:15:33 +01:00
tst-pthread_exit-nothreads-static.c nptl: Move pthread_exit into libc 2021-04-21 19:49:50 +02:00
tst-pthread_exit-nothreads.c nptl: Move pthread_exit into libc 2021-04-21 19:49:50 +02:00
tst-pthread-attr-affinity-fail.c nptl: Add pthread_attr_setaffinity_np failure test 2021-05-27 13:12:16 -03:00
tst-pthread-attr-affinity.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pthread-attr-sigmask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pthread-defaultattr-free.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pthread-gdb-attach-static.c nptl_db: Support different libpthread/ld.so load orders (bug 27744) 2021-04-21 11:50:43 +02:00
tst-pthread-gdb-attach.c nptl: Fix tst-pthread-gdb-attach for ptrace_scope equal 1 2021-05-14 13:28:29 -03:00
tst-pthread-getattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-pthread-timedlock-lockloop.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-robust-fork.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-robustpi1.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi2.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi3.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi4.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi5.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi6.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi7.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi8.c 2006-07-28 Ulrich Drepper <drepper@redhat.com> 2006-07-29 04:42:09 +00:00
tst-robustpi9.c Commit missing test case wrapper file. 2007-05-19 08:21:27 +00:00
tst-rwlock2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock2a.c (tests): Add tst-rwlock2a. 2008-05-31 08:56:14 +00:00
tst-rwlock2b.c New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
tst-rwlock3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock8.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock9.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock10.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock11.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock15.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock17.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock18.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock19.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock20.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-rwlock-pwn.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sched1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-sem11-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-sem11.c Fix semaphore destruction (bug 12674). 2015-01-21 00:46:16 -05:00
tst-sem12-static.c Add test cases for BZ #14557 2012-10-05 10:23:58 -07:00
tst-sem12.c Test of semaphores. 2007-05-26 01:23:04 +00:00
tst-sem13.c nptl: Add POSIX-proposed sem_clockwait 2019-07-12 13:36:23 +00:00
tst-sem17.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-setgetname.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-setgroups.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-setuid1-static.c Update. 2004-11-12 01:27:04 +00:00
tst-setuid1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-setuid2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-signal3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-signal7.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-stack2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-stack3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-stack4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-stack4mod.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-stackguard1-static.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
tst-stackguard1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread_local1.cc Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread-affinity-pthread2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread-affinity-pthread.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread-affinity-sched.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread-exit-clobber.cc Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-thread-setspecific.c Add __attribute_access_none to disable GCC warnings [BZ #27714] 2021-04-27 13:01:55 -06:00
tst-tls3-malloc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tls3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tls3mod.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tls5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tls5.h Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-tls5mod.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5moda.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5modb.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5modc.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5modd.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5mode.c Update. 2003-09-02 00:33:28 +00:00
tst-tls5modf.c Update. 2003-09-02 00:33:28 +00:00
tst-tls6.sh Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tpp.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-tsd3.c Pass a valid pointer to pthread_setspecific to avoid GCC 11 warning. 2021-04-27 19:07:49 -06:00
tst-tsd4.c Pass a valid pointer to pthread_setspecific to avoid GCC 11 warning. 2021-04-27 19:07:49 -06:00
unwind.c nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00
unwindbuf.sym Get rid of nptl/sysdeps/ entirely! 2014-07-07 09:28:38 -07:00
vars.c Force building with -fno-common 2021-07-09 20:09:14 +02:00
Versions nptl: Use out-of-line wake function in __libc_lock_unlock slow path 2021-07-09 10:59:22 +02:00