Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New API to set default thread attributes | Siddhesh Poyarekar | 2013-06-15 | 1 | -2/+3 |
| | | | | | | | This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes. | ||||
* | Avoid access beyond memory bounds in pthread_attr_getaffinity_np | Siddhesh Poyarekar | 2013-06-14 | 1 | -0/+1 |
| | | | | | | | | | Resolves BZ #15618. pthread_attr_getaffinity_np may write beyond bounds of the input cpuset buffer if the size of the input buffer is smaller than the buffer present in the input pthread attributes. Fix is to copy to the extent of the minimum of the source and the destination. | ||||
* | Link extra-libs consistently with libc and ld.so. | Joseph Myers | 2013-05-31 | 1 | -8/+0 |
| | |||||
* | Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes. | Carlos O'Donell | 2013-03-01 | 1 | -4/+1 |
| | | | | | | | This reverts the change that allows the POSIX Thread default stack size to be changed by the environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE. It has been requested that more discussion happen before this change goes into 2.18. | ||||
* | Set default stack size from program environment | Siddhesh Poyarekar | 2013-03-01 | 1 | -1/+4 |
| | | | | New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this. | ||||
* | Add --enable-hardcoded-path-in-tests configure option | H.J. Lu | 2013-01-11 | 1 | -6/+6 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 1 | -1/+1 |
| | |||||
* | Remove unneeded linking in nptl testsuite | Allan McRae | 2012-12-03 | 1 | -3/+0 |
| | |||||
* | Adding missing -fexception CFLAGS | Marcus Shawcroft | 2012-11-14 | 1 | -0/+5 |
| | |||||
* | Fix nptl/tst-cancel7 for non-bash shells. | Aurelien Jarno | 2012-10-30 | 1 | -1/+1 |
| | |||||
* | Use bash to run nptl/tst-tls6.sh. | Joseph Myers | 2012-10-25 | 1 | -1/+1 |
| | |||||
* | Support cross-testing. | Joseph Myers | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | BZ#14743: Move clock_* symbols from librt to libc. | Roland McGrath | 2012-10-24 | 1 | -20/+7 |
| | |||||
* | Don't set resource limits in tst-oddstacklimit-ENV. | Joseph Myers | 2012-10-24 | 1 | -5/+8 |
| | |||||
* | Define and use $(run-built-tests). | Joseph Myers | 2012-10-24 | 1 | -3/+3 |
| | |||||
* | Add and use $(host-built-program-cmd). | Jim Blandy | 2012-10-23 | 1 | -3/+3 |
| | |||||
* | Use $(NM) not nm in tst-cancel-wrappers. | Jim Blandy | 2012-10-21 | 1 | -1/+2 |
| | |||||
* | Take lock in pthread_cond_wait cleanup handler only when needed | Siddhesh Poyarekar | 2012-10-10 | 1 | -1/+2 |
| | | | | | | | | | | [BZ #14652] When a thread waiting in pthread_cond_wait with a PI mutex is cancelled after it has returned successfully from the futex syscall but just before async cancellation is disabled, it enters its cancellation handler with the mutex held and simply calling a mutex_lock again will result in a deadlock. Hence, it is necessary to see if the thread owns the lock and try to lock it only if it doesn't. | ||||
* | Add test cases for BZ #14557 | H.J. Lu | 2012-10-05 | 1 | -2/+7 |
| | |||||
* | Unlock mutex before going back to waiting for PI mutexes | Siddhesh Poyarekar | 2012-10-05 | 1 | -1/+3 |
| | | | | | | | | | | [BZ #14417] A futex call with FUTEX_WAIT_REQUEUE_PI returns with the mutex locked on success. If such a successful thread is pipped to the cond_lock by another spuriously woken waiter, it could be sent back to wait on the futex with the mutex lock held, thus causing a deadlock. So it is necessary that the thread relinquishes the mutex before going back to sleep. | ||||
* | Fix exception table for i386 pthread_cond_wait | Siddhesh Poyarekar | 2012-10-01 | 1 | -1/+1 |
| | | | | | | | | [BZ #14477] Add an additional entry in the exception table to jump to __condvar_w_cleanup2 instead of __condvar_w_cleanup for PI mutexes when %ebx contains the address of the futex instead of the condition variable. | ||||
* | Set "fail on error" mode directly in testsuite shell scripts | Dmitry V. Levin | 2012-09-25 | 1 | -2/+2 |
| | |||||
* | Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++ | H.J. Lu | 2012-09-07 | 1 | -1/+1 |
| | |||||
* | Add tst-cancel21-static.c | H.J. Lu | 2012-09-06 | 1 | -2/+3 |
| | |||||
* | Fix sem_post race (bug 14532). | Joseph Myers | 2012-08-31 | 1 | -1/+1 |
| | |||||
* | Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. | Roland McGrath | 2012-08-17 | 1 | -3/+3 |
| | |||||
* | Account for the extra stack size when rlimit is small enough | Siddhesh Poyarekar | 2012-06-20 | 1 | -1/+1 |
| | | | | | | | | | | | When rlimit is small enough to be used as the stacksize to be returned in pthread_getattr_np, cases where a stack is made executable due to a DSO load get stack size that is larger than what the kernel allows. This is because in such a case the stack size does not account for the pages that have auxv and program arguments. Additionally, the stacksize for the process derived from this should be truncated to align to page size to avoid going beyond rlimit. | ||||
* | Allow a single-threaded program to cancel itself | Siddhesh Poyarekar | 2012-05-15 | 1 | -0/+2 |
| | | | | | | | | | There is nothing in the POSIX specification to disallow a single-threaded program from cancelling itself, so we forcibly enable multiple_threads to allow the next available cancellation point in the thread to run. Also added additional tests to cover various cancellation scenarios. | ||||
* | Fix test-suite failues with -Wl,--as-needed | Allan McRae | 2012-05-02 | 1 | -1/+2 |
| | | | | Signed-off-by: Allan McRae <allan@archlinux.org> | ||||
* | Don't run tests when cross-compiling | Andreas Schwab | 2012-04-28 | 1 | -0/+4 |
| | |||||
* | Remove distribute variable from Makefiles | Ulrich Drepper | 2012-03-07 | 1 | -2/+0 |
| | |||||
* | Remove old initfini mechanism. | Joseph Myers | 2012-02-21 | 1 | -48/+1 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 1 | -3/+2 |
| | |||||
* | Add missing dependency for pt-crti.o | Andreas Schwab | 2012-02-08 | 1 | -0/+2 |
| | |||||
* | Support crti.S and crtn.S provided directly by architectures. | Joseph Myers | 2012-02-08 | 1 | -0/+19 |
| | |||||
* | Static linking is always needed | Ulrich Drepper | 2012-01-08 | 1 | -2/+1 |
| | |||||
* | Remove non-ELF support | Ulrich Drepper | 2012-01-07 | 1 | -2/+2 |
| | |||||
* | Fix typo in tst-cleanup0.out rule. | David S. Miller | 2011-08-20 | 1 | -1/+1 |
| | |||||
* | Fix missing dependencies and ensure correct CPPFLAGS. | Andreas Schwab | 2011-01-16 | 1 | -1/+1 |
| | |||||
* | Work around kernel rejecting valid absolute timestamps | Andreas Schwab | 2010-07-01 | 1 | -0/+1 |
| | |||||
* | Fix build with newer linker. | Ulrich Drepper | 2010-07-01 | 1 | -1/+2 |
| | |||||
* | Implement interfaces to set and get names of threads. | Ulrich Drepper | 2010-04-09 | 1 | -2/+4 |
| | | | | | | | | At least the Linux kernel provides field where the kernel originally stores the command which is executed by the thread. The value can subsequently be overwritten. The added functions allow to do that for threads, providing and abstraction around the syscalls or /proc file system accesses needed. | ||||
* | New NPTL POSIX semaphore test. | Ulrich Drepper | 2009-11-24 | 1 | -1/+1 |
| | |||||
* | Add more sem_timedwait tests. | Ulrich Drepper | 2009-07-18 | 1 | -0/+2 |
| | |||||
* | Implement pthread_sigqueue. | Ulrich Drepper | 2009-06-12 | 1 | -1/+1 |
| | | | | | | The kernel from 2.3.31 on supports the rt_tgsigqueueinfo syscall. Use it to implement the non-standard extension which, like sigqueue, can pass additional data to the receiving thread. | ||||
* | libc-cancellation.c cleanup. | Ulrich Drepper | 2009-05-16 | 1 | -3/+3 |
| | | | | | The unrelated function __libc_cleanup_routine should not be in this file. Move it into its own file. | ||||
* | Rename nptl/init.c to nptl/nptl-init.c. | Ulrich Drepper | 2009-05-16 | 1 | -3/+3 |
| | | | | | Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924. | ||||
* | [BZ #7009] cvs/fedora-glibc-20081112T2008 | Ulrich Drepper | 2008-11-12 | 1 | -1/+1 |
| | |||||
* | (tests): Add tst-rwlock2a. | Ulrich Drepper | 2008-05-31 | 1 | -3/+3 |
| | |||||
* | * Makeconfig (sysd-rules-targets): New variable. | Roland McGrath | 2008-02-01 | 1 | -4/+2 |
| | | | | | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target. |