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
taking the deprecated/dropped vfork spec strictly, doing pretty much
anything but execve in the ...
commit 0a05eace163cee9b08571d2ff9d90f5e82d9c228 implemented AT_EACCESS
for faccessat with a horr...
Ethernet protocol number for media redundancy protocol, see
linux commit 4714d13791f831d25385...
f035c7b1e65b6566c979ed69bada82a466580ba2 authored over 4 years ago by Szabolcs Nagy <[email protected]>On x86 and aarch64 GNU properties may be used to mark ELF objects.
6b1741aaf52445fd87bf944f5cdf0e2e21c75079 authored over 4 years ago by Szabolcs Nagy <[email protected]>
the linux faccessat syscall lacks a flag argument that is necessary
to implement the posix api, ...
add TCP_NLA_BYTES_NOTSENT and new tcp_zerocopy_receive fields, see
linux commit c8856c0514549...
616a8bf660d6c616aedf1e17adfb3de64f1ab9de authored over 4 years ago by Szabolcs Nagy <[email protected]>
it remaps anon mappings without unmapping the original. chromeos plans
to use it with userfaultf...
see
linux commit 9e2ba2c34f1922ca1e0c7d31b30ace5842c2e7d1
fanotify: send FAN_DIR_MODIFY eve...
added in
linux commit 1a50ec0b3b2e9a83f1b1245ea37a853aac2f741c
arm64: Implement archrandom....
these were missed before, added in
linux commit 1201937491822b61641c1878ebcd16a93aed4540
ar...
reuses a bit from CSIGNAL so it can only be used with unshare
and clone3, added in
linux comm...
43b640c2ff30bef9c943a8222008f4bd6f6cbaf6 authored over 4 years ago by Szabolcs Nagy <[email protected]>added in
linux commit 75551dbf112c992bc6c99a972990b3f272247e23
random: add GRND_INSECURE to...
needed for storage drivers with userspace component that may
run in the IO path, see
linux co...
8f4aa78a0cb86002273d2884b05618fc05827292 authored over 4 years ago by Szabolcs Nagy <[email protected]>
The use of TCP_ in udp.h is not known, fortunately udp.h is not
specified by posix so there are ...
TCP_NLA_TIMEOUT_REHASH queries timeout-triggered rehash attempts,
tcpm_ifindex limits the scope ...
add IPPROTO_ETHERNET and IPPROTO_MPTCP, see
linux commit 2677625387056136e256c743e3285b4fe3da...
8fca0ea4e9d09b0ada66b135533a74a643de77ef authored over 4 years ago by Szabolcs Nagy <[email protected]>
also added clone3 on sh and m68k, on sh it's still missing (not
yet wired up), but reserved so s...
see
linux commit 480274787d7e3458bc5a7cfbbbe07033984ad711
tcp: add TCP_INFO status for fail...
these were only using a custom version because they needed the
"non-64" variants of the file loc...
the fcntl file locking command macro values in the existing generic
bits/fcntl.h were the "64" v...
prior to commit 685e40bb09f5f24a2af54ea09c97328808f76990, x86_64 was
correctly passing O_LARGEFI...
262003ad9d8894c03fa4b033140e1e14e4c24c4d authored over 4 years ago by Rich Felker <[email protected]>
this code is only needed for pre-2.6 kernels, which are not actually
supported anyway, and was n...
prior to commit e68c51ac46a9f273927aef8dcebc89912ab19ece, h_errno was
actually an external data ...
now that struct winsize is available via sys/ioctl.h once again,
including termios.h is not needed.
putting the (simple) definition in alltypes.h seems like the best
solution here. making sys/ioct...
now that -Wall is not used and we control which warnings are enabled,
it makes sense to have the...
-Wall varies too much by compiler and version. rather than trying to
track all the unwanted styl...
these four warning options were overlooked previously, likely because
they're not part of GCC's ...
dtv_copy, canary2, and canary_at_end existed solely to match multiple
ABI and asm-accessed layou...
the adjustment made is entirely a function of TLS_ABOVE_TP and
TP_OFFSET. aside from avoiding re...
the only part of TP_ADJ that was not uniquely determined by
TLS_ABOVE_TP was the 0x7000 adjustme...
while it's not clearly documented anywhere, this is the historical
behavior which some applicati...
the framework to do this always existed but it was deemed unnecessary
because the only [ex-]stan...
these have been adopted for future issue of POSIX as the outcome of
Austin Group issue 1151, and...
all path elements but the last had the final byte truncated.
9d4b25b4738dbabf628055601d96ba0609c2b4a8 authored over 4 years ago by Rich Felker <[email protected]>
this is a prerequisite for addition of other interfaces that use
kernel tids, including futex an...
longjmp should set the return value of setjmp, but 64bit
registers were used for the 0 check whi...
Use a branchless sequence that is one byte shorter on 64-bit, same size
on 32-bit. Thanks to Pet...
59b64ff686cef2a87e9552658b2c8d2531f87176 authored over 4 years ago by Alexander Monakov <[email protected]>
c6a6fe4ccdba92c518dfbf337cda1bf0f697527d authored over 4 years ago by Alexander Monakov <[email protected]>
longjmp 'val' argument is an int, but the assembly is referencing 64-bit
registers as if the arg...
a number of users performing seccomp filtering have requested use of
the new individual syscall ...
same approach as in sqrt.
sqrtl was broken on aarch64, riscv64 and s390x targets because
of mis...
for targets where long double is different from double.
4f893997e4738faf6dde8320b304298340f51cd2 authored over 4 years ago by Szabolcs Nagy <[email protected]>
same method as in sqrt, this was tested on all inputs against
an sqrtf instruction. (the only di...
approximate 1/sqrt(x) and sqrt(x) with goldschmidt iterations.
this is known to be a fast method...
prior to this change, the canonical name came from the first hosts
file line matching the reques...
the existing code clobbered the canonical name already discovered
every time another matching li...
73cc775bee53300c7cf759f37580220b18ac13d3 authored over 4 years ago by Rich Felker <[email protected]>
this is actually a functional fix at present, since the C sqrtl does
not support ld80 and just w...
if len==0, an uninitalized variable would be returned
ddf1750e42e17f75e765d494874308c6393118bb authored over 4 years ago by Bartosz Brachaczek <[email protected]>
the previous commit addressing async-signal-safety issues around
pthread_kill did not fully fix ...
pthread_kill is required to be AS-safe. that requirement can't be met
if the target thread's kil...
this broke mallocng size_to_class on archs without a native
implementation of a_clz_32. the inco...
vfscanf() may use the variable 'alloc' uninitialized when taking the
branch introduced by commit...
ea6d7847ac128f02d1f01ffd01e68341df34ac6e authored over 4 years ago by Rich Felker <[email protected]>
the intent here is to keep oldmalloc as an option, at least for the
short term, in case any user...
the files added come from the mallocng development repo, commit
2ed58817cca5bc055974e5a0e43c280d...
this includes both an implementation of reclaimed-gap donation from
ldso and a version of malloc...
these are based on the ARM optimized-routines repository v20.05
(ef907c7a799a), with macro depen...
Allow the existing ARM assembler memcpy implementation to be used for
both big and little endian...
the child is single-threaded, but may still need to synchronize with
last changes made to memory...
otherwise, shrink in-place. as explained in the description of commit
3e16313f8fe2ed143ae0267fd7...
commit 3e16313f8fe2ed143ae0267fd79d63014c24779f introduced this bug by
making the copy case reac...
access always computes result with real ids not effective ones, so it
is not a valid means of de...
some archs already have a_clz_32, used to provide a_ctz_32, but it
hasn't been mandatory because...
it both malloc and aligned_alloc have been replaced but the internal
aligned_alloc still gets ca...
this is in preparation for improving behavior of malloc interposition.
e9f4fd1185badfc005fcfe5c7de27d58baec057c authored over 4 years ago by Rich Felker <[email protected]>
a new weak predicate function replacable by the malloc implementation,
__malloc_allzerop, is int...
it's not part of the malloc implementation but glue with musl dynamic
linker.
abstractly, calloc is completely malloc-implementation-independent;
it's malloc followed by mems...
this sets the stage for replacement, and makes it practical to keep
oldmalloc around as a build ...
this function is no longer used elsewhere, and moving it reduces the
number of source files spec...
e07138b880dcc72d3f1b3a2d2c1af75c2484c8d7 authored over 4 years ago by Rich Felker <[email protected]>
fc18facf6e5a1ce344ba1f5c797cf1594f49bbd8 authored over 4 years ago by Rich Felker <[email protected]>
this change eliminates the internal __memalign function and makes the
memalign and posix_memalig...
this is the first step of swapping the name of the actual
implementation to aligned_alloc while ...
this was an unfinished draft document present since the initial
check-in, that was never intende...
this affects the bump allocator used when static linking in programs
that don't need allocation ...
this reflects that it is no longer intended for consumption outside of
the malloc implementation.
this eliminates consumers of malloc_impl.h outside of the malloc
implementation.
28be61227c5a84e39ccb63d4021456785b89ce1b authored over 4 years ago by Rich Felker <[email protected]>
clock_adjtime always returns the current clock setting in struct
timex, so it's always possible ...
the 64-bit time code path used the wrong (time32) syscall. fortunately
this code path is not yet...
this has been a longstanding issue reported many times over the years,
with it becoming increasi...
coding style warnings enabled by default in clang have long been a
source of spurious questions/...
the design used here relies on the barrier provided by the first lock
operation after the proces...
after all but the last thread exits, the next thread to observe
libc.threads_minus_1==0 and conc...
these are all flags that can be single-byte values.
f12888e9eb9eed60cc266b899dcafecb4752964a authored over 4 years ago by Rich Felker <[email protected]>
since the backend for LOCK() skips locking if single-threaded, it's
unsafe to make the process a...
signal 7 is SIGEMT on Linux mips* ABI according to the man pages and
kernel. it's not clear wher...
presently all archs define SIGSTKFLT but this is not correct. change
strsignal as a prerequisite...
the internal __res_msend returns 0 on timeout without having obtained
any conclusive answer, but...
the old logic here likely dates back, at least in inspiration, to
before it was recognized that ...
the AD (authenticated data) bit in outgoing dns queries is defined by
rfc3655 to request that th...
unsigned char promotes to int, which can overflow when shifted left by
24 bits or more. this has...
it's been reported that the vdso clock_gettime64 function on (32-bit)
arm is broken, producing e...
analogous to commit b287cd745c2243f8e5114331763a5a9813b5f6ee but for
the custom FILE stream type...
the sh version of fesetround or'd the new rounding mode onto the
control register without cleari...