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
commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 inadvertently
introduced namespace violations by...
with the availability of the thread list, there is no need to mark tsd
key slots dirty and clean...
the __synccall mechanism provides stop-the-world synchronous execution
of a callback in all thre...
the hard problem here is unlinking threads from a list when they exit
without creating a window ...
whether signals need to be blocked at thread start, and whether
unblocking is necessary in the e...
this eliminates some ugly hacks that were repurposing the start
function and start argument fiel...
__dl_thread_cleanup is called from the context of an exiting thread
that is not in a consistent ...
the way gets was implemented in terms of fgets, it used the location
of the null termination to ...
in order to implement ENOTRECOVERABLE, the implementation has
traditionally used a bit of the mu...
fdopendir is specified to fail with EBADF if the file descriptor
passed is not open for reading....
1dd915c37090b32a6220488f99ce0f9be86eb46d authored almost 6 years ago by Bobby Bingham <[email protected]>
3517d74a5e04a377192d1f4882ad6c8dc22ce69a authored almost 6 years ago by Bobby Bingham <[email protected]>
Some packages call gettext to format a message to be sent to perror.
If the currently set user l...
1691b23955590d1eb66a11158fdd91c86337e886 authored almost 6 years ago by Rich Felker <[email protected]>
commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 removed the argument,
making it a constraint vio...
apparently some distros use this form, and it seems to be supported in
the gcc build system.
commit 84d061d5a31c9c773e29e1e2b1ffe8cb9557bc58 attempted to do this
already, but omitted from p...
fallback to /etc/shadow should happen only when the entry is not found
in the TCB shadow. otherw...
this case is specified as success with a null result, rather than an
error, and errno is not to ...
this reverts commit c0ed5a201b2bdb6d1896064bec0020c9973db0a1, which
was based on a mistaken read...
the resolution of Austin Group issue #1132 changes the requirement to
fail so that it only appli...
prior to linux 2.6.22, futex wait could fail with EINTR even for
non-interrupting (SA_RESTART) s...
it's not clear whether this is required, but it seems arguable that it
should happen. for exampl...
the map structures in particular are permanent once created, and thus
a large number of aio func...
since commit c9f415d7ea2dace5bf77f6518b6afc36bb7a5732, it has been
possible that the allocator i...
aio threads not using SIGEV_THREAD notification are created with small
stacks and no guard page,...
26c66c485c04fa782b8c6f7450bf008f4457b5a8 authored about 6 years ago by Rich Felker <[email protected]>
used for device driver dump in /proc/vmcore
new in linux commit 2724273e8fd00b512596a77ee063f49b...
new in linux commit 94b07c1f8c39c6d839df35fa28ffd1785d385897
currently only supported on aarch64
836022b1c3655f82cfc8ed5fc62006526ec73b8b authored about 6 years ago by Szabolcs Nagy <[email protected]>
io_pgetevents is new in linux commit
7a074e96dee62586c935c80cecd931431bfdd0be
rseq is new in li...
d149e69c02eb558114f20ea718810e95538a3b2f authored about 6 years ago by Szabolcs Nagy <[email protected]>
used for undiagnosed trap exceptions where linux previously set si_code
to 0. new in linux commi...
new in linux commit 76b7f670730e87974f71df9f6129811e2769666e
in struct signalfd_siginfo the pad...
a71276e2582ee034432cb52c17d786df610c2cf0 authored about 6 years ago by Szabolcs Nagy <[email protected]>
new address family and related macros were added in linux commit
68e8b849b221b37a78a110a0307717d...
add UDP_NO_CHECK6_* to restrict zero UDP6 checksums, new in linux commit
1c19448c9ba6545b80ded18...
add packet delivery info to tcp_info,
new in linux commit feb5f2ec646483fb66f9ad7218b1aad2a93a2a...
7c8454790080395bf5b27857a766b3468aa5ed98 authored about 6 years ago by Rich Felker <[email protected]>
memccpy would return a pointer over the given size when c is not
found in the source buffer and ...
commit b9410061e2ad6fe91bb3910c3adc7d4a315b7ce9 inadvertently omitted
optopt from the "dynamic l...
first, the condition (mem && k < p) is redundant, because mem being
nonzero implies the needle i...
commit d88e5dfa8b989dafff4b748bfb3cba3512c8482e inadvertently changed
the argument pased to __ge...
commit ddc947eda311331959c73dbc4491afcfe2326346 fixed the
corresponding bug for exit which was i...
fflush(NULL) and __stdio_exit lock individual FILEs while holding the
open file list lock to wal...
Use "+r" in the asm instead of implementing a non-transparent copy by
applying "0" constraint to...
this was leftover from before the initial commit.
0239cd0681e889a269fb7691f60e81ef8d081e6b authored about 6 years ago by Rich Felker <[email protected]>
mem0 && mem && ... is redundant since mem can only be nonzero when
mem0 is nonzero.
a caller needs the reason for open (or fstat, albeit unlikely) failure
if it's going to make dec...
commit aeeac9ca5490d7d90fe061ab72da446c01ddf746 introduced fail-safe
invariants that creating a ...
unify the code paths for allocated and non-allocated locale objects,
always using a tmp object. ...
commit 63c188ec42e76ff768e81f6b65b11c68fc43351e missed making this
change when switching from at...
introduce a new LOC_MAP_FAILED sentinel for errors, since null
pointers for a category's locale ...
the choice of signed char for lbf was a theoretically space-saving
hack that was not helping, an...
to check whether flush due to line buffering is needed, the int-type
character argument must be ...
the internal putc_unlocked macro was wrongly returning a meaningless
boolean result rather than ...
check whether the lock is free before loading the calling thread's
tid. if so, just use a dummy ...
this is not needed for correctness, but doesn't hurt, and in some
cases the compiler may pessimi...
commit 4390383b32250a941ec616e8bff6f568a801b1c0 inadvertently used "r"
instead of "0" for the in...
commit d664061adb4d7f6647ab2059bc351daa394bf5da inadvertently omitted
the new file putc.h.
by ABI, the public stdin/out/err macros use extern pointer objects,
and this is necessary to avo...
this is the analog of commit dd8f02b7dce53d6b1c4282439f1636a2d63bee01,
but for putc.
with these changes, in a program that has not created any threads
besides the main thread and th...
on multiple occasions I've started to flatten/inline the code in
__init_libc, only to rediscover...
this is the analog of commit 1c84c99913bf1cd47b866ed31e665848a0da84a2
for static linking. unlike...
versions of clang all the way back to 3.1 lack the bug this was
purportedly working around.
this will allow the compiler to cache and reuse the result, meaning we
no longer have to take ca...
revert commit a603a75a72bb469c6be4963ed1b55fabe675fe15.
as a result of commit 1c84c99913bf1cd47...
bf453d68393f7eea5965319e21311e56d71fa53c authored about 6 years ago by Rich Felker <[email protected]>
commit a603a75a72bb469c6be4963ed1b55fabe675fe15 removed attribute
const from __errno_location an...
don't repeat definition in two places.
2085378a4fad15f65686d78f52dc6fb5362bdf20 authored about 6 years ago by Rich Felker <[email protected]>
the placement triggered -Wmisleading-indentation warnings if enabled,
and was gratuitously confu...
fma is only available on recent x86_64 cpus and it is much faster than
a software fma, so this s...
vfma is available in the vfpv4 fpu and above, the ACLE standard feature
test for double precisio...
These are only available on hard float target and sqrt is not available
in the base ISA, so furt...
These are available in the s390x baseline isa -march=z900.
1da534ada8a66424e0d23e94ab6750b689be6d64 authored about 6 years ago by Szabolcs Nagy <[email protected]>
previously (before and after rewrite), spurious escaping of path
separators as \/ was not treate...
this code has been long overdue for a rewrite, but the immediate cause
that necessitated it was ...
commit 6ba5517a460c6c438f64d69464fdfc3269a4c91a modified
__tls_get_addr to offset the address by...
as explained in commit 6ba5517a460c6c438f64d69464fdfc3269a4c91a, some
archs use an offset (typic...
len was already passed as an argument, so don't use strcat, and use
memcpy instead of strcpy.
e2552581bc004f7dc5ee9ac220cad8abeae19bba authored about 6 years ago by Rich Felker <[email protected]>
Rounding modes are not bit flags, but arbitrary non-negative integers.
7b384c42b73ca1a1e150b3f255990ec53cedec60 authored about 6 years ago by Szabolcs Nagy <[email protected]>
when invoking the assembler, arm gcc does not always pass the right
flags to enable use of vfp i...
the specification for freeaddrinfo allows it to be used to free
"arbitrary sublists" of the list...
the indirect function call is a significant portion of the code path
for the dynamic case, and m...
unlike other asm where the baseline ISA is used, these functions are
hot paths and use ISA-level...
use the GNU C may_alias attribute if available, and fallback to naive
byte-by-byte loops if __GN...
8cd738bbee3b4e60a99b71599c338bf444070f18 authored over 6 years ago by Rich Felker <[email protected]>
82c41e92320c3f84bd6d24e21c5350a06e2fc831 authored over 6 years ago by Rich Felker <[email protected]>
the comparison must take place in the address space model as an
integer type, since comparing po...
Rewrote the AVL tree implementation:
- It is now non-recursive with fixed stack usage (large en...
c50985d5c8e316c5c464f352e79eeebfed1121a9 authored over 6 years ago by Szabolcs Nagy <[email protected]>
These should have been added in commit
df6d9450ea19fd71e52cf5cdb4c85beb73066394
that added targe...
despite not being documented to do so in the standard or Linux
documentation, attempts to udp co...
the clang internal assembler does not accept assembler options passed
via the usual -Wa mechanis...
this facilitates building software that assumes a large default stack
size without any patching ...
stack size default is increased from 80k to 128k. this coincides with
Linux's hard-coded default...
limit to 8MB/1MB, repectively. since the defaults cannot be reduced
once increased, excessively ...
these are now declared in pthread_impl.h.
c7ed3e909a69d34a7821f7db644c2fa590a1a690 authored over 6 years ago by Rich Felker <[email protected]>access to defaults should be protected against concurrent changes.
11ce1b133d594b6a454d3e8d5941e7a6a432c42b authored over 6 years ago by Rich Felker <[email protected]>
per POSIX, deletion of a key for which some threads still have values
stored is permitted, and n...
The condition occurs when
- thread #1 is holding the lock
- thread #2 is waiting for it on __fut...
commit b114190b29417fff6f701eea3a3b3b6030338280 introduced spurious
realloc of the output buffer...
morally, for null pointers a and b, a-b, a<b, and a>b should all be
defined as 0; however, C doe...