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
this is a POSIX requirement.
baf95a5aefe885ef8a675759c63d43649d312ec6 authored over 6 years ago by Rich Felker <[email protected]>
__aeabi_read_tp used to call c code, but that was incorrect as the
arm runtime abi specifies spe...
commit 201995f382cc698ae19289623cc06a70048ffe7b introduced a hack
utilizing the signedness of ch...
with async cancellation enabled, pthread_cancel(pthread_self())
deadlocked due to pthread_kill h...
This manifests itself in mktime if tm_isdst = 1 and the current TZ= is
a POSIX timezone specific...
commit 610c5a8524c3d6cd3ac5a5f1231422e7648a3791 changed the thread
pointer setup so tp points at...
this is an obsolete error code from RFS, an obsolete predecessor of
NFS. POSIX documents it only...
the code to perform rounding to the desired precision wrongly assumed
the long double mantissa w...
the text of the specification for getopt's handling of options that
require an argument, which r...
commit 98c9af500125df41fdb46d7e384b00982d72493a wrongly claimed they
do not need to be valid for...
POSIX requires the symlink function to fail with ENAMETOOLONG if the
link contents to be written...
Call SYS_exit on return from fn in __clone. This is the expected
behavior of this function. With...
due to moved code, commit b8742f32602add243ee2ce74d804015463726899
inadvertently used the return...
the sign character produced came from the sign of tm_gmtoff/3600 as an
integer division, which i...
the specfile for the wrapper was written assuming output is pie only
if -pie appears on the comm...
this fixes a major gap in the intended functionality of
pthread_setattr_default_np. if applicati...
maintainer's note: the key observation here is that the compared
element is the first slot of th...
maintainer's note: while musl does not use the linux kernel headers,
it does provide these three...
maintainer's note: at some point, probably long before linux separated
the uapi headers, it was ...
18fbc7e4fa254696eb024f56ee74704805925fad authored over 6 years ago by Rich Felker <[email protected]>
commit 32482f61da7650ff10741bd5aedd66bbc3ea165b reduced the number of
int members before the dir...
sys/ptrace.h is target specific, use bits/ptrace.h to add target
specific macro definitions.
th...
df6d9450ea19fd71e52cf5cdb4c85beb73066394 authored over 6 years ago by Szabolcs Nagy <[email protected]>
new in linux v3.1 commit 3544d72a0e10d0aa1c1bd59ed77a53a59cdc12f7
changed in linux v3.4 commit 5...
including uchar.h in c++ code is only well defined in c++11 onwards
where char16_t and char32_t ...
previously, this operation succeeded, and the relocation results
worked for access from new thre...
tls_id is one-based, whereas [static_]tls_cnt is a count, so
comparison for checking that a give...
this flag is notoriously under-/mis-specified, and in the past it was
implemented as a nop, esse...
commit 0b80a7b0404b6e49b0b724e3e3fe0ed5af3b08ef, which added non-stub
setvbuf, applied the UNGET...
062015204a192dd6ab9663abcc3171b9106d1749 authored over 6 years ago by Rich Felker <[email protected]>
to produce sorted results roughly corresponding to RFC 3484/6724,
__lookup_name computes routabi...
Avoid saving/restoring the incoming argument by reusing memset return
value.
since slack space at the beginning and/or end of writable load maps is
donated to malloc, the ap...
the early-exit condition for the symbol match loop on exact matches
caused dladdr to produce the...
commit 8b8fb7f03721c42445f982582f462144ab60a1a0 added logic to prevent
matching a symbol with no...
based on patch by Axel Siebenborn, with fixes discussed on the mailing
list after submission and...
e829695fcc880f8578c2b964ea2d090f0016c9d7 authored over 6 years ago by Rich Felker <[email protected]>
a0d64dccbc8d0a2decbe61be706a02ac706ed45a authored over 6 years ago by Patrick Oppenlander <[email protected]>
maintainer's note: past sentiment was that, despite being imperfect
and unable to force clearing...
maintainer's note: this change is for conformance with RFC 5952,
4.2.2, which explicitly forbids...
the expression (tm->__tm_gmtoff)/3600 has type long. use %+.2ld instead.
da5851e9f464f74533cc8270c932cf6466ff3256 authored over 6 years ago by Daniel Sabogal <[email protected]>
if a final dot was included in the queried host name to anchor it to
the dns root/suppress searc...
commit 587f5a53bc3a68d80b239ba515d583df690a96df moved the definition
of SO_PEERSEC to bits/socke...
adapted from patch by Matthias Schiffer.
587f5a53bc3a68d80b239ba515d583df690a96df authored over 6 years ago by Rich Felker <[email protected]>471497ab818bf6151dea7f4425a815d9cc59deb2 authored over 6 years ago by Rich Felker <[email protected]>
writable load segments can have size-in-memory larger than their size
in the ELF file, represent...
memfd_create was added in linux v3.17 and glibc has api for it.
38f2fa3d0207b8060302129c6464662751d4f2d3 authored over 6 years ago by Szabolcs Nagy <[email protected]>
mlock2 syscall was added in linux v4.4 and glibc has api for it.
It falls back to mlock in case ...
unlike the x86 variant, the m68k ld80 format allows (biased) exponent
zero with mantissa msb set...
the mode member of struct ipc_perm is specified by POSIX to have type
mode_t, which is uniformly...
new in linux commit 71406883fd35794d573b3085433c41d0a3bf6c21
7ea235b1be38c57c49b164c9762cf90be02dbc05 authored over 6 years ago by Szabolcs Nagy <[email protected]>new in linux commit 256211f2b0b251e532d1899b115e374feb16fa7a
1177f61d6e9eb3751014ef27fb3ce1b58c620b00 authored over 6 years ago by Szabolcs Nagy <[email protected]>
hwcaps for armv8.4, new in linux commit
7206dc93a58fb76421c4411eefa3c003337bcb2d
PR_{SET,GET}_SPECULATION_CTRL controls speculation related vulnerability
mitigations, new in com...
added in linux commit 4fe0de5b143762d327bfaf1d7be7c5b58041a18c
5b85ed5cec915a2f1c23170e59b0658986c0ade4 authored over 6 years ago by Szabolcs Nagy <[email protected]>
new and missing netlink attributes types for SCM_TIMESTAMPING_OPT_STATS,
new ones were added in ...
introduced to stat ipc objects without permission checks since the
info is available in /proc/sy...
to map at a fixed address without unmapping underlying mappings
(fails with EEXIST unlike MAP_FI...
add pkey_mprotect, pkey_alloc, pkey_free syscall numbers,
new in linux commits 3350eb2ea12797831...
armv8.4 fp mul instructions.
added in commit 3b3b681097fae73b7f5dcdd42db6cfdf32943d4c
to get seccomp state for checkpoint restore.
added in linux commit 26500475ac1b499d8636ff281311d...
octets in ethernet type field
added in linux commit 4bbb3e0e8239f9079bf1fe20b3c0cb598714ae61
protocol number for erspan v2 support
added in linux commit f551c91de262ba36b20c3ac19538afb4f450...
added to uapi in commit 65aaf87b3aa2d049c6b9fd85221858a895df3393
used since commit a9a08845e9acb...
three ABIs are supported: the default with 68881 80-bit fpu format and
results returned in float...
since x86 and m68k are the only archs with 80-bit long double and each
has mandatory endianness,...
d5e55ba3320c30310ca1d8938925d5424a652422 authored over 6 years ago by Rich Felker <[email protected]>
In TLS variant I the TLS is above TP (or above a fixed offset from TP)
but on some targets there...
since this iconv implementation's output is stateless, it's necessary
to know before writing any...
this case is handled with a recursive call to iconv using a
specially-constructed conversion des...
maintainer's notes:
commit 95c6044e2ae85846330814c4ac5ebf4102dbe02c split UTF-32 and
UTF-32BE b...
maintainer's notes:
commit a223dbd27ae36fe53f9f67f86caf685b729593fc added the reverse
conversio...
the wrapper start function that performs scheduling operations is
unreachable if pthread_attr_se...
eliminate the awkward startlock mechanism and corresponding fields of
the pthread structure that...
over time the pthread structure has accumulated a lot of cruft taking
up size. this commit remov...
previously, some accesses to the detached state (from pthread_join and
pthread_getattr_np) were ...
if the last thread exited via pthread_exit, the logic that marked it
dead did not account for th...
posix documents in the rationale and future directions for
pthread_kill that, since the lifetime...
the tid field in the pthread structure is not volatile, and really
shouldn't be, so as not to li...
the static const zero set ended up getting put in bss instead of
rodata, wasting writable memory...
to support the GNU extension of allocating a buffer for getcwd's
result when a null pointer is p...
in thumb mode, r7 is the ABI frame pointer register, and unless frame
pointer is disabled, gcc i...
for getopt_long, partial (prefix) matches of long options always begin
with "--" and thus can ne...
commit 618b18c78e33acfe54a4434e91aa57b8e171df89 removed the previous
detection and hardening sin...
this change serves multiple purposes:
1. it ensures that static linking of memalign-family func...
72141795d4edd17f88da192447395a48444afa10 authored over 6 years ago by Rich Felker <[email protected]>
the generated code should be mostly unchanged, except for explicit use
of C_INUSE in place of co...
23389b1988b061e8487c316893a8a8eb77770a2f authored over 6 years ago by Rich Felker <[email protected]>
commit c9f415d7ea2dace5bf77f6518b6afc36bb7a5732 included checks to
make calloc fallback to memse...
3f3cc3e99558501318e2f16ff03bbd68ce5a5e95 authored over 6 years ago by Will Dietz <[email protected]>
ARMv6 cores with support for Thumb2 can take advantage of the "ldrex"
and "strex" based implemen...
__ARM_ARCH_6ZK__ is a gcc specific historical typo which may not be
defined by other compilers.
...
Provide an ARM specific a_ctz_32 helper function for architecture
versions for which it can be i...
Update atomic.h to provide a_ctz_l in all cases (atomic_arch.h should
now only provide a_ctz_32 ...
3f6dc30470d5751b83645df180a60cad3e7907ef authored over 6 years ago by Marc André Tanner <[email protected]>
0b80a7b0404b6e49b0b724e3e3fe0ed5af3b08ef authored over 6 years ago by Rich Felker <[email protected]>
bring these functions up to date with the current idioms we use/prefer
in fmemopen and fopencookie.
rather than manually performing pointer arithmetic to carve multiple
objects out of one allocati...
assign entire struct rather than member-at-a-time. don't repeat buffer
sizes; always use sizeof ...
instead of using a waiters count, add a bit to the lock field
indicating that the lock may have ...
c1014a812c90bab3c9c989863e4ebb129e987de6 authored over 6 years ago by Rich Felker <[email protected]>
replacement is subject to conditions on the replacement functions.
they may only call functions ...