Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/AssemblyScript/musl

Mirror of git://git.musl-libc.org/musl
https://github.com/AssemblyScript/musl

fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targets

currently the bfd linker does not seem to create tls segments where
p_vaddr%p_align != 0, but th...

a60b9e06861e56c0810bae0249b421e1758d281a authored over 5 years ago by Szabolcs Nagy <[email protected]>
fix static tls offsets of shared libs on TLS_ABOVE_TP targets

tls_offset should always point to the end of the allocated static tls
area, but this was not han...

6104dae9088da7ffd9346671be867a43a4b03295 authored over 5 years ago by Szabolcs Nagy <[email protected]>
fix format strings for uid/gid values in putpwent/putgrent

commit 648c3b4e18b2ce2b6af7d44783e42ca267ea49f5 omitted this change,
which is needed to be able ...

9fd98a6354105dd67b648b48dba238f4c3e3d564 authored over 5 years ago by Rich Felker <[email protected]>
remove unused struct dso members from dynlink.c

maintainer's note: commit 9d44b6460ab603487dab4d916342d9ba4467e6b9
removed their use.

f450c150d31730b18a145cca17150427cf3f20e6 authored over 5 years ago by Fangrui Song <[email protected]>
improve i386 inline syscall asm on non-broken compilers

we have to avoid using ebx unconditionally in asm constraints for
i386, because gcc 3 and 4 and ...

bdb0817599325e6ca6838717dfe18290695a59a2 authored over 5 years ago by Rich Felker <[email protected]>
fix regression in i386 inline syscall asm producing invalid code

commit 22e5bbd0deadcbd767864bd714e890b70e1fe1df inlined the i386
syscall mechanism, but wrongly ...

c8798ef974d21c338a7d8d874a402978ffc6168e authored over 5 years ago by Rich Felker <[email protected]>
make fgetwc set error indicator for stream on encoding errors

this is a requirement in POSIX that's omitted, and seemed potentially
non-conforming, in the C s...

511d70738bce11a67219d0132ce725c323d00e4e authored over 5 years ago by Rich Felker <[email protected]>
fix broken posix_fadvise on mips due to missing 7-arg syscall support

commit 788d5e24ca19c6291cebd8d1ad5b5ed6abf42665 exposed the breakage
at build time by removing s...

d02e72ad51ea3b06cb168d872e3e5c126bb3df9d authored over 5 years ago by Rich Felker <[email protected]>
allow archs to provide a 7-argument syscall if needed

commit 788d5e24ca19c6291cebd8d1ad5b5ed6abf42665 noted that we could
add this if needed, and in f...

d7b583420bfc0897b6ccc90afb7e41333a221c09 authored over 5 years ago by Rich Felker <[email protected]>
fix build regression on mips n32 due to typo in new inline syscall

commit 1bcdaeee6e659f1d856717c9aa562a068f2f3bd4 introduced the
regression.

7b6ec3de7192daf255a22ad7113732c8262f0f63 authored over 5 years ago by Rich Felker <[email protected]>
fix passing of 64-bit syscall arguments on microblaze

this has been wrong since the beginning of the microblaze port: the
syscall ABI for microblaze d...

28198ac3afd33fb9017ad1283eb794e3a77832f9 authored over 5 years ago by Rich Felker <[email protected]>
fix regression in s390x SO_PEERSEC definition

analogous to commit efda534b212f713fe2b92a62b06e45f656b763ce for
powerpc. commit 587f5a53bc3a68d...

2df8b1d806c3e1fd4b6b10e13794855a93fe6628 authored over 5 years ago by Rich Felker <[email protected]>
make new math code compatible with unused variable warning/error

commit b50d315fd23f0fbc4c11e2583801dd123d933745 introduced
fp_force_eval implemented by default ...

78691fa76d40751173be95527ece8821113a1be0 authored over 5 years ago by Rich Felker <[email protected]>
math: new pow

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

e4dd65305a046019123ab34ebdcbe761a3a719ca authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new exp and exp2

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

e16f7b3c02e17d0ace779a11f0d53a9c05fdd434 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new log2

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

2a3210cf4abff0a69ff3e7adc66591dfe6ab2197 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new log

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

236cd056e871acb8731cd84b5bfb6f0feb646589 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new powf

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

d28cd0ad428d63c186003fdf9c02470561650a04 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new exp2f and expf

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

3f94c648ef32c95fa7f5c94b5cb8f2b764fc1938 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new log2f

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

098868b338e9afd3ef844070a94b9b10360d913f authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: new logf

from https://github.com/ARM-software/optimized-routines,
commit 04884bd04eac4b251da4026900010ea7...

db505b794c697631f65e6b91ff106496debb86ac authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add configuration macros

Musl currently aims to support non-nearest rounding mode and does not
support SNaNs. These macro...

169fc008d8daf5265847c593b1c78f3513d9172b authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add macros for static branch prediction hints

These don't have an effectw with -Os so not useful with default settings
other than documenting ...

3c3763fc529114e209aea08336a420c5d5be4dc2 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add double precision error handling functions

4f8acf953ccf1a978a3378db7fb1e8d5a7afbca1 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add single precision error handling functions

These are supposed to be used in tail call positions when handling
special cases in new code. (f...

9ef6ca4235b7a66aefa432295c02b4df64a53f2e authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add eval_as_float and eval_as_double

Previously type casts or assignments were used for handling excess
precision, which assumed stan...

fe54544f055959bb7406758881d0fb85920b3f0e authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add fp_arch.h with fp_barrier and fp_force_eval

C99 has ways to support fenv access, but compilers don't implement it
and assume nearest roundin...

b50d315fd23f0fbc4c11e2583801dd123d933745 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: remove sun copyright from libm.h

Nothing is left from the original fdlibm header nor from the bsd
modifications to it other than ...

f107d34e762a0c18be2ba25518667780242e21e0 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: add asuint, asuint64, asfloat and asdouble

Code generation for SET_HIGH_WORD slightly changes, but it only affects
pow, otherwise the gener...

d59e504279abd3f613c2305a65fb16936f7b07f1 authored over 5 years ago by Szabolcs Nagy <[email protected]>
math: move complex math out of libm.h

This makes it easier to build musl math code with a compiler that
does not support complex types...

2d72b58070bc43a727b580a46746e87215a60a33 authored over 5 years ago by Szabolcs Nagy <[email protected]>
define FP_FAST_FMA* when fma* can be inlined

FP_FAST_FMA can be defined if "the fma function generally executes about
as fast as, or faster t...

e980ca7a571465e8a4c887a199491c2cd8d0c0ee authored over 5 years ago by Szabolcs Nagy <[email protected]>
fcntl.h: define O_TTY_INIT to 0

POSIX: "[If] either O_TTY_INIT is set in oflag or O_TTY_INIT has the
value zero, open() shall se...

65c8be380431eebe4d70d130bd38563f8df9a7d7 authored over 5 years ago by A. Wilcox <[email protected]>
remove external __syscall function and last remaining users

the weak version of __syscall_cp_c was using a tail call to __syscall
to avoid duplicating the 6...

788d5e24ca19c6291cebd8d1ad5b5ed6abf42665 authored over 5 years ago by Rich Felker <[email protected]>
implement inline 5- and 6-argument syscalls for mipsn32 and mips64

n32 and n64 ABIs add new argument registers vs o32, so that passing on
the stack is not necessar...

1bcdaeee6e659f1d856717c9aa562a068f2f3bd4 authored over 5 years ago by Rich Felker <[email protected]>
cleanup mips64 syscall_arch functions

d3b4869cd3a1861f824b9a97c3078846748764f0 authored over 5 years ago by Rich Felker <[email protected]>
implement inline 5- and 6-argument syscalls for mips

the OABI passes these on the stack, using the convention that their
position on the stack is as ...

dcb18bea6159e841b8c894ac606f471882513429 authored over 5 years ago by Rich Felker <[email protected]>
use inline syscalls for powerpc (32-bit)

the inline syscall code is copied directly from powerpc64. the extent
of register clobber specif...

6aeb9c6703670649ee09b3c8575fb428168bb75c authored over 5 years ago by Rich Felker <[email protected]>
remove cruft for supposedly-buggy clang from or1k & microblaze syscall_arch

it was never demonstrated to me that this workaround was needed, and
seems likely that, if there...

f76d51a1cca1236efc50ee60c0bad3354079b854 authored over 5 years ago by Rich Felker <[email protected]>
overhaul i386 syscall mechanism not to depend on external asm source

this is the first part of a series of patches intended to make
__syscall fully self-contained in...

22e5bbd0deadcbd767864bd714e890b70e1fe1df authored over 5 years ago by Rich Felker <[email protected]>
release 1.1.22

e97681d6f2c44bf5fa9ecdd30607cb63c780062e authored over 5 years ago by Rich Felker <[email protected]>
in membarrier fallback, allow for possibility that sigaction fails

this is a workaround to avoid a crashing regression on qemu-user when
dynamic TLS is installed a...

a01ff71f7c43693ad4954d4ae7863df159cf4073 authored over 5 years ago by Rich Felker <[email protected]>
fix the use of syscall result in dl_mmap

77846800722914eeba170505c2e7f89e12a6beff authored over 5 years ago by Ilya Matveychikov <[email protected]>
fix signature of function accepted by makecontext

This parameter was incorrectly declared to be a pointer to a function
accepting zero parameters....

e8e780af9865edbc0495aed326a736d013ef7168 authored almost 6 years ago by Bobby Bingham <[email protected]>
fix unintended global symbols in atanl.c

Mark atanhi, atanlo, and aT in atanl.c as static, as they're not
intended to be part of the publ...

8186880393510222a8616fc4b185facd9dfdd06e authored almost 6 years ago by Dan Gohman <[email protected]>
use __strchrnul instead of strchr and strlen in execvpe

The result is the same but takes less code.
Note that __execvpe calls getenv which calls __strch...

7fe51ea85b56e3b900f58091e71420ea668c492c authored almost 6 years ago by Frediano Ziglio <[email protected]>
delete a redundant if in dynamic linker ctor execution loop

086a12b920eedc1779b83a5dfddc00460a4d6be7 authored almost 6 years ago by Ray <[email protected]>
fix harmless-by-chance typo in priority inheritance mutex code

commit 54ca677983d47529bab8752315ac1a2b49888870 inadvertently
introduced bitwise and where logic...

8ee0ca0ce6cc04f3283e5391773108376ba5b4aa authored almost 6 years ago by Rich Felker <[email protected]>
implement priority inheritance mutexes

priority inheritance is a feature to mitigate priority inversion
situations, where a execution o...

54ca677983d47529bab8752315ac1a2b49888870 authored almost 6 years ago by Rich Felker <[email protected]>
clean up access to mutex type in pthread_mutex_trylock

there was no point in masking off the pshared bit when first loading
the type, since every subse...

2142cafdc7692428b5f993fe211279d1ed2e7271 authored almost 6 years ago by Rich Felker <[email protected]>
support archs with no renameat syscall, only renameat2

54316a52b2119edf73e274c8b4f25d7757f7b4d3 authored almost 6 years ago by Drew DeVault <[email protected]>
support archs with no mlock syscall, only mlock2

46fb680c850b0846af6a7f789404077368d60c79 authored almost 6 years ago by Drew DeVault <[email protected]>
fix data race choosing next key slot in pthread_key_create

commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 wrongly moved the
access to the global next_key ...

59f88d766263344ce3e124d969ba66720aff4590 authored almost 6 years ago by Rich Felker <[email protected]>
fix crash/out-of-bound read in sscanf

commit d6c855caa88ddb1ab6e24e23a14b1e7baf4ba9c7 caused this
"regression", though the behavior wa...

8f12c4e110acb3bbbdc8abfb3a552c3ced718039 authored almost 6 years ago by Rich Felker <[email protected]>
fix namespace violation in dependencies of mtx_lock

commit 2de29bc994029b903a366b8a4a9f8c3c3ee2be90 left behind one
reference to pthread_mutex_trylo...

c62dfe61611cee4b9b2667e1aec8a20385bc5c55 authored almost 6 years ago by Rich Felker <[email protected]>
aarch64: add HWCAP_ definitions from linux v5.0

HWCAP_SB - speculation barrier instruction available added in linux
commit bd4fb6d270bc423a9a409...

2a03b0b518c91909bca8f0f97985656193db9fbe authored almost 6 years ago by Szabolcs Nagy <[email protected]>
sys/prctl.h: add PR_PAC_RESET_KEYS from linux v5.0

aarch64 pointer authentication code related prctl that allows
reinitializing the key for the thr...

cff993cf32da345430724882214a4e493d4899fc authored almost 6 years ago by Szabolcs Nagy <[email protected]>
elf.h: add NT_ definitions from linux v5.0

NT_MIPS_MSA for ptrace access to mips simd arch reg set, added in linux
commit 3cd640832894b85b5...

843e453c1144784ac2159f8de2d46f8d1c843374 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
elf.h: update with C-SKY definitions

C-SKY support was added to binutils 2.32 in commit
b8891f8d622a31306062065813fc278d8a94fe21
the ...

02f769b20d03309ac553f29443b01c8359090536 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
aarch64, or1k: add kexec_file_load syscall number from linux v5.0

added in linux commit 4e21565b7fd4d9045765f697887e74a704135fe2

1114df5d60f1c8f5b8be17c5465e0d612277c73a authored almost 6 years ago by Szabolcs Nagy <[email protected]>
netinet/tcp.h: add TCP_NLA_SRTT from linux v5.0

smoothed RTT for SCM_TIMESTAMPING_OPT_STATS control messages.
added in linux commit e8bd8fca6773...

9e06514e23a106c478f7558a4b94dfaff69dd394 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
netinet/udp.h: add UDP_GRO from linux v5.0

sockopt to enable gro for udp.
added in linux commit e20cf8d3f1f763ad28a9cb3b41305b8a8a42653e

292bda7ceb1033488af08ba0ae8df27e38e8eb00 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
powerpc: add PTRACE_SYSEMU from linux v4.20

added in linux commit 5521eb4bca2db733952f068c37bdf3cd656ad23c

a86c4724c08a2dc52bab79a2da59292a6cf7ff33 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
aarch64: add HWCAP_SSBS from linux v4.20

for armv8.5 speculative store bypass PSTATE bit support,
added in linux commit d71be2b6c0e19180b...

65735baa75cb7176a0b3b784f46c9500c8639b36 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
bits/ioctl.h: add TIOC{G,S}ISO7816 from linux v4.20

ISO7816 smart cards ioctls.
linux commit ad8c0eaa0a418ae8ef3f9217638bb86439399eac

the actual ke...

59904de7e091476e6d19f61bdfc7e157034428b0 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
sys/prctl.h: add PR_SPEC_INDIRECT_BRANCH from linux v4.20

prctls to allow per task control of indirect branch speculation on x86.

added in linux commit 9...

13c73da72f4c0926c82ce46964afc40c41cc7025 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
netinet/in.h add IPV6_MULTICAST_ALL from linux v4.20

ipv6 analogue of IP_MULTICAST_ALL sockopt.

added in linux commit 15033f0457dca569b284bef0c8d3ad...

0b026bbd69ac4f35e08b9ab800b7467eba7cb414 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
add PACKET_IGNORE_OUTGOING sockopt from linux v4.20

new in linux commit fa788d986a3aac5069378ed04697bd06f83d3488

c6a61df183104616ed3d4c68922752623545af16 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
sys/mman.h: add new hugetlb mmap flags from linux v4.19

aarch64 supports 32MB and 512MB hugetlb page sizes too.
added in linux commit 20916d4636a9b3c1bf...

db8b53f20733923ab3bb0dd71d31beb37e1e9ad3 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
arm: add io_pgetevents syscall number from v4.19

wired up in linux commit 73aeb2cbcdc9be391b3d32a55319a59ce425426f

d66ae1aeaf29de25c4a5c48273d7f8a44c4d6b27 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
aarch64, or1k: define rseq syscall number following linux v4.19

added in linux commit db7a2d1809a5b6b08d138ff68837f805fc073351

53bef5c55e05c7423dd497006e86fae152a983b1 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
elf.h: add new mips core dump note values from linux v4.19

NT_MIPS_FP_MODE is new in linux commit
1ae22a0e35636efceab83728ba30b013df761592

NT_MIPS_DSP is ...

5640bc5bd59a0348a9792b4a2c0418c72b0abc16 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
netinet/udp.h: add UDP_ENCAP_RXRPC from linux v4.19

used for optimizing the rxrpc protocol
added in linux commit 5271953cad31b97dea80f848c16e96ad664...

3e52f99308d51fbd4da268fc8b95edc35081d1f5 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
netinet/tcp.h: add tcp_info fields from linux v4.19

new fields for RFC 4898 tcp stats in linux
tcpi_bytes_sent added in commit ba113c3aa79a7f941ac16...

b47723ab3b61d7840b08c56375e35546f7b4a8a9 authored almost 6 years ago by Szabolcs Nagy <[email protected]>
sys/inotify.h: add IN_MASK_CREATE from linux v4.19

inotify_add_watch flag to prevent modifying existing watch descriptors,
when used on an already ...

df4b017bcdf626a1ef8bbd8e9724d336c788fb0d authored almost 6 years ago by Szabolcs Nagy <[email protected]>
sys/socket.h: add SO_TXTIME from linux v4.19

added in linux commit 80b14dee2bea128928537d61c333f24cb8cbb62f

31b3efbf3eccec3296980527f4afcb49a0753b1d authored almost 6 years ago by Szabolcs Nagy <[email protected]>
handle labels with 8-bit byte values in dn_skipname

The original logic considered each byte until it either found a 0
value or a value >= 192. This ...

2a0ff45b362b7f0f89374ba7240c469d9ea53562 authored almost 6 years ago by Ryan Fairfax <[email protected]>
fix POSIX_FADV_DONTNEED/_NOREUSE on s390x

On s390x, POSIX_FADV_DONTNEED and POSIX_FADV_NOREUSE have different
values than on all other arc...

4b125dd408d54487dc8843b9553502aa0c4167f8 authored almost 6 years ago by Jonathan Neuschäfer <[email protected]>
expose TSVTX unconditionally in tar.h

as noted in Austin Group issue #1236, the XSI shading for TSVTX is
misplaced in the html version...

81221e13f93171508ec6f66f3c9c3ac439c6acd2 authored almost 6 years ago by Rich Felker <[email protected]>
setvbuf: return failure if mode is invalid

POSIX requires setvbuf to return non-zero if `mode` is not one of _IONBF,
_IOLBF, or _IOFBF.

00d3d577cac8dc05e683b16bfe3dbe4a692cb172 authored almost 6 years ago by A. Wilcox <[email protected]>
make FILE a complete type for pre-C11 standard profiles

C11 removed the requirement that FILE be a complete type, which was
deemed erroneous, as part of...

f368d9fd26ae002fe2fce20add4cb2b806f48972 authored almost 6 years ago by Rich Felker <[email protected]>
fix invalid-/double-/use-after-free in new dlopen ctor execution

this affected the error path where dlopen successfully found and
loaded the requested dso and al...

50cd02386b152bb39a1a9d1edba3fdcda7771a4c authored almost 6 years ago by Rich Felker <[email protected]>
don't reject unknown/future flags in sigaltstack, allow SS_AUTODISARM

historically, and likely accidentally, sigaltstack was specified to
fail with EINVAL if any flag...

4918b7fb0d9f3d3fd4b46be3313901fbd772064b authored almost 6 years ago by Rich Felker <[email protected]>
avoid malloc of ctor queue for programs with no external deps

together with the previous two commits, this completes restoration of
the property that dynamic-...

43e7efb46555f13a556d92944ac05c19b8929b60 authored almost 6 years ago by Rich Felker <[email protected]>
avoid malloc of deps arrays for ldso and vdso

neither has or can have any dependencies, but since commit
403555690775f7c8806372644f543518e6664...

f034f145bdf7541995eaf08451275329e09694d8 authored almost 6 years ago by Rich Felker <[email protected]>
avoid malloc of deps array for programs with no external deps

traditionally, we've provided a guarantee that dynamic-linked
applications with no external depe...

e612d094b1d27e1d61940e58d8aaeb249c54e768 authored almost 6 years ago by Rich Felker <[email protected]>
fix malloc misuse for startup ctor queue, breakage on fdpic archs

in the case where malloc is being replaced, it's not valid to call
malloc between final relocati...

2f1f51ae7b2d78247568e7fdb8462f3c19e469a4 authored almost 6 years ago by Rich Felker <[email protected]>
synchronize shared library dtor exec against concurrent loads/ctors

previously, going way back, there was simply no synchronization here.
a call to exit concurrent ...

8e43b5613eea0b557a2e91368917a90f4b0e4ab2 authored almost 6 years ago by Rich Felker <[email protected]>
overhaul shared library ctor execution for dependency order, concurrency

previously, shared library constructors at program start and dlopen
time were executed in revers...

188759bbee057aa94db2bbb7cf7f5855f3b9ab53 authored almost 6 years ago by Rich Felker <[email protected]>
record preloaded libraries as direct pseudo-dependencies of main app

this makes calling dlsym on the main app more consistent with the
global symbol table (load orde...

88207361ea3ece1141af2adeac6069aa866e0de0 authored almost 6 years ago by Rich Felker <[email protected]>
fix unsafety of new ldso dep tracking in presence of malloc replacement

commit 403555690775f7c8806372644f543518e6664e3b introduced runtime
realloc of an array that may ...

0c5c8f5da6e36fe4ab704bee0cd981837859e23f authored almost 6 years ago by Rich Felker <[email protected]>
fix and overhaul dlsym depedency order, always record direct deps

dlsym with an explicit handle is specified to use "dependency order",
a breadth-first search roo...

403555690775f7c8806372644f543518e6664e3b authored almost 6 years ago by Rich Felker <[email protected]>
fix crash/misbehavior from oob read in new dynamic tls installation

code introduced in commit 9d44b6460ab603487dab4d916342d9ba4467e6b9
wrongly attempted to read pas...

71db5dfaa9ddcb65e18ff128c9ed122790d72e2f authored almost 6 years ago by Rich Felker <[email protected]>
fix crash in new dynamic tls installation when last dep lacks tls

code introduced in commit 9d44b6460ab603487dab4d916342d9ba4467e6b9
wrongly assumed the dso list ...

6516282d2adfad2c7e66d854cde3357120c75dbd authored almost 6 years ago by Rich Felker <[email protected]>
add membarrier syscall wrapper, refactor dynamic tls install to use it

the motivation for this change is twofold. first, it gets the fallback
logic out of the dynamic ...

ba18c1ecc6a18203ad8496791154af86f706f632 authored almost 6 years ago by Rich Felker <[email protected]>
make thread list lock a recursive lock

this is a prerequisite for factoring the membarrier fallback code into
a function that can be ca...

7865d569de7b29dd90b94b5680ec7a2a86ed27af authored almost 6 years ago by Rich Felker <[email protected]>
fix loop logic cruft in dynamic tls installation

commit 9d44b6460ab603487dab4d916342d9ba4467e6b9 inadvertently
contained leftover logic from a pr...

609dd57c4e32d68433a062a7ad8004ace90baf06 authored almost 6 years ago by Rich Felker <[email protected]>
fix spurious undefined behavior in getaddrinfo

addressing &out[k].sa was arguably undefined, despite &out[k] being
defined the slot one past th...

ad795d56ba3fb9d69f524ee676e3b1e2355cceb7 authored almost 6 years ago by Rich Felker <[email protected]>
fix invalid free of partial addrinfo list with multiple services

the backindex stored by getaddrinfo to allow freeaddrinfo to perform
partial-free wrongly used t...

224d938c5e538ac37f84c6e9a01bd2095aa7081a authored almost 6 years ago by Rich Felker <[email protected]>
install dynamic tls synchronously at dlopen, streamline access

previously, dynamic loading of new libraries with thread-local storage
allocated the storage nee...

9d44b6460ab603487dab4d916342d9ba4467e6b9 authored almost 6 years ago by Rich Felker <[email protected]>
fix data race between new pthread_key_delete and dtor execution

access to clear the entry in each thread's tsd array for the key being
deleted was not synchroni...

805288929fdf511b4044cf07c59e02e2eaa9c546 authored almost 6 years ago by Rich Felker <[email protected]>