aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-12nss_nisplus: Use NSS_DECLARE_MODULE_FUNCTIONSfw/nss-declareFlorian Weimer1-0/+1
2020-02-12nss_dns: Use NSS_DECLARE_MODULE_FUNCTIONSFlorian Weimer3-0/+6
2020-02-12nss_files: Use NSS_DECLARE_MODULE_FUNCTIONSFlorian Weimer15-0/+38
2020-02-12nss_db: Use NSS_DECLARE_MODULE_FUNCTIONSFlorian Weimer3-1/+3
2020-02-12nss_compat: Use NSS_DECLARE_MODULE_FUNCTIONSFlorian Weimer4-0/+8
2020-02-12nss_hesiod: Use NSS_DECLARE_MODULE_FUNCTIONSFlorian Weimer4-0/+8
2020-02-12nss: Add function types and NSS_DECLARE_MODULE_FUNCTIONS macro to <nss.h>Florian Weimer3-35/+209
This macro allows to add type safety to the implementation of NSS service modules.
2020-02-12nss_compat: Do not use nss_* names for function pointersFlorian Weimer4-113/+112
A future commit will use these names for types of functions in NSS service modules.
2020-02-12S390: Fix non-ascii character in fenv.h.Stefan Liebler1-2/+2
The comment "isn't" contained a non-ascii character which leads to an error if compiled with -finput-charset=ascii: error: failure to convert ascii to UTF-8 This is observable in GCC testsuite: FAIL: 17_intro/headers/c++1998/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2011/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2014/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2017/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2020/charset.cc (test for excess errors) Also rewrite the comment above. Reported-by: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2020-02-12io: Add io/tst-lchmod covering lchmod and fchmodatFlorian Weimer2-1/+315
2020-02-12Linux: Emulate fchmodat with AT_SYMLINK_NOFOLLOW using O_PATH [BZ #14578]Florian Weimer1-10/+47
/proc/self/fd files are special and chmod on O_PATH descriptors in that directory operates on the symbolic link itself (like lchmod).
2020-02-12io: Implement lchmod using fchmodat [BZ #14578]Florian Weimer5-6/+8
2020-02-12Add internal <file_change_detection.h> header fileFlorian Weimer3-1/+347
The code started out with bits form resolv/resolv_conf.c, but it was enhanced to deal with directories and FIFOs in a more predictable manner. A test case is included as well. This will be used to implement the /etc/resolv.conf change detection. This currently lives in a header file only. Once there are multiple users, the implementations should be moved into C files.
2020-02-12elf.h: Add R_RISCV_IRELATIVEFangrui Song1-1/+2
The number has been officially assigned by https://github.com/riscv/riscv-elf-psabi-doc/pull/131 https://github.com/riscv/riscv-elf-psabi-doc/commit/d21ca40a7f56812a15e97450b7bc1599c0d35b82
2020-02-11Fix typo in the name for Wednesday in Kurdish [BZ #9809]Mike FABIAN1-1/+1
2020-02-11debug: Add missing locale dependencies of fortify testsFlorian Weimer1-0/+11
The missing dependencies result in failures like this if make check is invoked with sufficient parallelism for the debug subdirectory: FAIL: debug/tst-chk2 FAIL: debug/tst-chk3 FAIL: debug/tst-chk4 FAIL: debug/tst-chk5 FAIL: debug/tst-chk6 FAIL: debug/tst-lfschk1 FAIL: debug/tst-lfschk2 FAIL: debug/tst-lfschk3 FAIL: debug/tst-lfschk4 FAIL: debug/tst-lfschk5 FAIL: debug/tst-lfschk6
2020-02-10htl C11 threads: Avoid pthread_ symbols visibility in static librarySamuel Thibault42-45/+41
2020-02-11hurd: Add __pthread_spin_wait and use itSamuel Thibault17-24/+33
900778283ac3 ("htl: make pthread_spin_lock really spin") made pthread_spin_lock really spin and not block, but the current users of __pthread_spin_lock were assuming that it blocks, i.e. they use it as a lightweight mutex fitting in just one int. __pthread_spin_wait provides that support back.
2020-02-10ldbl-128ibm-compat: set PRINTF_CHK flag in {,v}sprintf_chkPaul E. Murphy2-0/+8
This should be unconditionally set to match the common implementation, and fixes multiple test failures related to sprintf. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2020-02-10Use --disable-gdbserver in build-many-glibcs.py.Joseph Myers1-0/+1
Now that binutils-gdb has gdbserver at top level, an extra --disable-gdbserver configure option is needed when configuring binutils from a git checkout to avoid it also building gdbserver unnecessarily (although fairly harmlessly). This patch updates the options used in build-many-glibcs.py accordingly (although this might end up not being needed depending on what happens regarding whether gdbserver gets built for host != target). Tested with a build-many-glibcs.py compilers build for aarch64-linux-gnu using binutils-gdb master.
2020-02-10Improve random memcpy benchmarkWilco Dijkstra1-29/+57
Improve the random memcpy benchmark. Double the number of copies and increase the memory sizes tested to 512KB. Add a more detailed distribution of memcpy alignment and sizes up to 4096 based on SPEC2017 traces. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2020-02-10nptl: update default pthread-offsets.hAndreas Schwab1-16/+6
Remove unused definitions, and correct __PTHREAD_RWLOCK_FLAGS_OFFSET for __WORDSIZE == 64.
2020-02-10nptl: add missing pthread-offsets.hAndreas Schwab5-0/+25
All architectures using their own definition of struct __pthread_rwlock_arch_t need to provide their own pthread-offsets.h.
2020-02-10htl: Avoid a local plt for pthread_selfSamuel Thibault1-3/+3
2020-02-10pthread: Move some join tests from nptl to sysdeps/pthreadSamuel Thibault14-13/+16
So they can be checked with htl too.
2020-02-10htl: Make joining self return EDEADLKSamuel Thibault1-0/+3
2020-02-10pthread: Move most barrier tests from nptl to sysdeps/pthreadSamuel Thibault7-1/+2
So they can be checked with htl too.
2020-02-10htl: Fix barrier_wait with one threadSamuel Thibault1-1/+3
2020-02-10pthread: Move most sem tests from nptl to sysdeps/pthreadSamuel Thibault15-3/+12
So they can be checked with htl too.
2020-02-10htl: Make sem_wait/sem_timedwait interruptibleSamuel Thibault7-9/+47
2020-02-10htl: Make sem_open return ENOSYSSamuel Thibault1-1/+1
instead of EOPNOTSUPP, which is for sockets.
2020-02-10htl: Add support for semaphore maximum valueSamuel Thibault2-0/+10
2020-02-10pthread: Move key tests from nptl to sysdeps/pthreadSamuel Thibault6-1/+1
So they can be checked with htl too.
2020-02-10hurd: Make nanosleep a cancellation pointSamuel Thibault1-0/+5
2020-02-10htl: Add support for libc cancellation pointsSamuel Thibault6-3/+69
2020-02-10htl: clean __pthread_get_cleanup_stack hidden protoSamuel Thibault4-6/+4
2020-02-09htl: XFAIL rwlock tests which need pshared supportSamuel Thibault1-0/+2
2020-02-09pthread: Move some rwlock tests from nptl to sysdeps/pthreadSamuel Thibault9-5/+6
So they can be checked with htl too.
2020-02-09pthread: Move most once tests from nptl to sysdeps/pthreadSamuel Thibault8-5/+8
So they can be checked with htl too.
2020-02-09htl: support cancellation during pthread_onceSamuel Thibault1-0/+10
2020-02-09pthread: Move most cond tests from nptl to sysdeps/pthreadSamuel Thibault31-8/+28
So they can be checked with htl too.
2020-02-09htl: make pthread_cond_destroy return EBUSY on waitersSamuel Thibault1-1/+8
2020-02-09htl: Report missing mutex lock on pthread_cond_*waitSamuel Thibault4-1/+59
2020-02-09htl: Fix linking static testcasesSamuel Thibault1-0/+2
They need libpthread.a
2020-02-09htl: Move __register_atfork from forward to own fileSamuel Thibault3-139/+158
Since we need it also in the static linking case.
2020-02-09pthread: Move some attr tests from nptl to sysdeps/pthreadSamuel Thibault3-1/+2
So they can be checked with htl too.
2020-02-09htl: Fix default guard sizeSamuel Thibault3-2/+6
When it is not hardcoded by the architecture with PAGESIZE, we need to use the dynamic values from __vm_page_size.
2020-02-09pthread: Move most mutex tests from nptl to sysdeps/pthreadSamuel Thibault10-3/+8
So they can be checked with htl too. XFAIL tst-mutex4, for which support is still missing in htl.
2020-02-09pthread: Move spin tests from nptl to sysdeps/pthreadSamuel Thibault6-1/+1
So they can be checked with htl too.
2020-02-09htl: make pthread_spin_lock really spinSamuel Thibault1-1/+1
__spin_lock would actually use gsync_wait to block, which is not what pthread_spin_lock is about.