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

support __cxa_atexit, and registering atexit functions from atexit handlers

mildly tested; may have bugs. the locking should be updated not to use
spinlocks but that's outs...

b7c683be35586f671d91c9883c9a41920938df9b authored over 13 years ago
simplify atexit and fflush-on-exit handling

f753049a50132a23849ef89a8af5ff86ad595c25 authored over 13 years ago
fix F_GETOWN return value handling

the fcntl syscall can return a negative value when the command is
F_GETOWN, and this is not an e...

8e8ddeff7eee6294e24c0a9a29053164f990f1b3 authored over 13 years ago
fix typo in arm clone() asm

2b89e56c94c1ce4369a3c7a17304df17df1fa822 authored over 13 years ago
fix fcntl O_* flags for arm

no idea why these 4 are permuted and the rest are standard/generic

e6d765a8b1278e9e5f507638ccdec9fe40e52364 authored over 13 years ago
make [U]INTn_C() macros have the right type...

...and still be valid in #if directives.

73f5ff4e8646a5fddbeae5070a53f05870e51dd1 authored over 13 years ago
recovering ownerdead robust mutex must reset recursive lock count

5e977e8b48c6862767ea0a1255233600957c05db authored over 13 years ago
simplify robust mutex unlock code path

right now it's questionable whether this change is an improvement or
not, but if we later want t...

b6f9974ad843b6b106db082fc44e710c0eb06e3b authored over 13 years ago
fix crash if pthread_mutex_unlock is called without ever locking

this is valid for error-checking mutexes; otherwise it invokes UB and
would be justified in cras...

b8688ff87574fad6b3056443a5385010952fb243 authored over 13 years ago
use count=0 instead of 1 for recursive mutex with only one lock reference

this simplifies the code paths slightly, but perhaps what's nicer is
that it makes recursive mut...

7fe58d3511387ab6c57909f6e4baef58acd6bd56 authored over 13 years ago
sysconf for PTHREAD_KEYS_MAX

b3b00d11e87926b553429d341b020a8a070e4ea1 authored over 13 years ago
synchronize cond var destruction with exiting waits

5a2e18093725c3965486641f0ad0b61a44f7ed68 authored over 13 years ago
fix failure-to-wake in rwlock unlock

a reader unlocking the lock need only wake one waiter (necessarily a
writer, but a writer unlock...

b85fec2ded3f005b877e25b63215c0d09d4a9f7f authored over 13 years ago
dlsym entry point for arm

8b98c09f8c6a0c366f06b7e6a4b3555a07e5244d authored over 13 years ago
dynamic linker entry point for arm

mildly tested, seems to work

fcaf7065698bce12a444803587421ae88446f6c0 authored over 13 years ago
typo (copy 2) in arm reloc.h

74cc7c69f951ad90d1b56b3dde3fddb3fa9516fe authored over 13 years ago
typo in arm reloc.h

cd319d73c77a4c6c8996b65f61e3bdc59a47d0c3 authored over 13 years ago
first attempt at arm dynamic linking

12ace5bf76040e928df1abd57e9b5134ca4647c6 authored over 13 years ago
fix various bugs in path and error handling in execvp/fexecve

4b87736998e8d8c0610c3c31b6862c77248a98df authored over 13 years ago
don't crash on null strings in printf

passing null pointer for %s is UB but lots of broken programs do it anyway

5f814682b48c59f07568d349f979eed4cf306703 authored over 13 years ago
fix excessive/insufficient wakes in __vm_unlock

there is no need to send a wake when the lock count does not hit zero,
but when it does, all wai...

de543b05c87d79a9313991810e9ee8ecdaad8f19 authored over 13 years ago
make getmntent_r discard long lines when it returns error, not seek back

seeking back can be performed by the caller, but if the caller doesn't
expect it, it will result...

ede5ae7b0bb5a7ed9edeb2eeb8e24d30af64d185 authored over 13 years ago
improve pshared barriers

eliminate the sequence number field and instead use the counter as the
futex because of the way ...

9cee9307e3b8ed31e772d564d1dc53e6d888acba authored over 13 years ago
next step making barrier self-sync'd destruction safe

i think this works, but it can be simplified. (next step)

95b147967216a057d51a1b970da777486be716e3 authored over 13 years ago
barrier destroy must also wait for threads in other processes exiting barrier

the vm lock only waits for threads in the same process exiting.
actually this fix is not enough,...

8f4a115e7d38c31ad8d8c7233eaff2db270aebd8 authored over 13 years ago
stupid typo (caused by rather ugly spelling in POSIX..) in aio

f0a8d60d32b7d6a093596abdbb9711e64eff2594 authored over 13 years ago
correctly handle the degenerate barrier in the pshared case

067bdc2c180885af831f55f971f5eb17d2c9dc27 authored over 13 years ago
fix crash in pthread_cond_wait mutex-locked check

it was assuming the result of the condition it was supposed to be
checking for, i.e. that the th...

3ac092bd7d700c6316c64660e2a722a2f85652a5 authored over 13 years ago
fix crash in pthread_testcancel if pthread_self has not been called

823813e3f4d7a8d3848e092bcdf975c8b94b6194 authored over 13 years ago
improve/debloat mutex unlock error checking in pthread_cond_wait

we're not required to check this except for error-checking mutexes,
but it doesn't hurt. the new...

bc244533ccd72a0ad075571e338a6af35cc162f5 authored over 13 years ago
check mutex owner in pthread_cond_wait

when used with error-checking mutexes, pthread_cond_wait is required
to fail with EPERM if the m...

bfae1a8b713305ec3e65c7d6abd7ad64d5df6363 authored over 13 years ago
fix pshared barrier wrong return value.

i set the return value but then never used it... oops!

d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e authored over 13 years ago
convert the barrier pshared option back to 0/1 values when getting it

5e9e78ecd7ec5178483af8f1130cb6a958982b73 authored over 13 years ago
improve error handling in mntent stuff...

not sure if this is correct/ideal. it needs further attention.

7e76095180a5d64821e21900b85dbd8829e2d90d authored over 13 years ago
fix missing va_end in prctl syscall wrapper

f135ef3f343b824c5039e3dbbc31b5545fbe7a12 authored over 13 years ago
fix clobbering of errno in get(pw|gr)([ug]id|nam) by fclose

aef84ca7ec87ed21c2a2d5eecf3b4bbd6cbe3db9 authored over 13 years ago
process-shared barrier support, based on discussion with bdonlan

this implementation is rather heavy-weight, but it's the first
solution i've found that's actual...

60164570111873175111cf8a5b973375e492eee9 authored over 13 years ago
fix incorrect allocation failure check in pthread_create

mmap returns MAP_FAILED not 0 because some idiot thought the ability
to mmap the null pointer pa...

3f39c9b3130cd6c142d358159879b799370a6663 authored over 13 years ago
fix ctype macros to cast argument to (unsigned) first

issue reported by nsz, but it's actually not just pedantic. the
functions can take input of any ...

7e14ed1360c65b78c3ad1fc4fafea13e30067478 authored over 13 years ago
another cond var fix: requeue count race condition

lock out new waiters during the broadcast. otherwise the wait count
added to the mutex might be ...

3bec53e0d3bb5e74d2e2dca34f50aadfaf832607 authored over 13 years ago
fix lost signals in cond vars

due to moving waiters from the cond var to the mutex in bcast, these
waiters upon wakeup would s...

1fa05210100caefc8546746e08358d81739f4b41 authored over 13 years ago
cleanup various minor issues reported by nsz

the changes to syscall_ret are mostly no-ops in the generated code,
just cleanup of type issues ...

fd142e5ec44aaafffbb8bb4ea41c4288d3fa937a authored over 13 years ago
redo cond vars again, use sequence numbers

testing revealed that the old implementation, while correct, was
giving way too many spurious wa...

729d6368bdf9faa33299cdfa68efc7422af33bd7 authored over 13 years ago
revert previous change in cond var waiter move

using swap has a race condition: the waiters must be added to the
mutex waiter count *before* th...

c11d1e696723f41d7873332e51fb6858b417fa5f authored over 13 years ago
optimize cond waiter move using atomic swap instead of cas loop

cf940165d4caf132405a3fe3df58b57eb735ac04 authored over 13 years ago
fix logic for when wakeup is not desired on cond bcast

somehow i forgot that normal-type mutexes don't store the owner tid.

09ec0f3aab4df2993f4a2a992529655f6c4f7a70 authored over 13 years ago
new futex-requeue-based pthread_cond_broadcast implementation

this avoids the "stampede effect" where pthread_cond_broadcast would
result in all waiters wakin...

cba4e1c0a3423ed07ef5c79f6e29360996f32fd7 authored over 13 years ago
fix ABA race in cond vars, improve them overall

previously, a waiter could miss the 1->0 transition of block if
another thread set block to 1 ag...

97c5b5a87c3d9df54278e1073d6177f77536bd32 authored over 13 years ago
FD_ISSET must return an int. this is the easiest way.

casting to int would not be correct because high bits could be lost.
mapping the high bits down ...

c41a76f58ce0238172effe982f2cee7bbd2a60a4 authored over 13 years ago
sys/user.h may need stdint.h

1587224ed60aa38b7a26c5eaf692f1f1ab525afd authored over 13 years ago
"optimize" arm __pthread_self

actually this is just to avoid gcc being stupid and refusing to inline
the function version, eve...

d5bde7babb88f0279f3ad592d585f3f954090696 authored over 13 years ago
fix deadlock in condition wait whenever there are multiple waiters

it's amazing none of the conformance tests i've run even bothered to
check whether something so ...

4b153ac42428447a148e6da543ebe6df017078db authored over 13 years ago
fix x86_64 user.h (previously was just a copy of i386)

2eff02e4a032323a45541c79967638d8c77d79e4 authored over 13 years ago
cleanup/debloat i386 user.h

c651c473e5b5ba005e476d8ead7954c881950f92 authored over 13 years ago
wrong __WORDSIZE in x86_64 header

ee6fc9a0931e881fb00fc9ae307f921c5527e55e authored over 13 years ago
protect against/handle cancellation reading shadow passwords

0d4d94efd5dfe9348582c92a2de6923bb66492ac authored over 13 years ago
make dns lookups (and thus getaddrinfo) cancellable

12d547b262c2c8c4e23d0a62eb59581929c2da89 authored over 13 years ago
use poll rather than select in dns lookups (also clock_gettime)

if the file descriptor resource limit has been increased past
FD_SETSIZE, this is actually a sec...

bf027ca5e0c7bc0b90e84dcbb1d7cbea6ed1e3ef authored over 13 years ago
fix missing SIG_DFL, SIG_IGN, SIG_ERR without posix in signal.h

81a5577a860b1d320239a84c84266e4d7045f450 authored over 13 years ago
avoid setting FILE lock count when not using flockfile

for now this is just a tiny optimization, but later if we support
cancellation from __stdio_read...

ca52e347673126956a4f21247d8a551ea668f61f authored over 13 years ago
gnu search.h has struct qelem...

319df20bc9c20231d8efd810780c012cbdcfb109 authored over 13 years ago
release notes for 0.8.3

4a08c85111835c00a4c007aa3a198d9474932a97 authored over 13 years ago
update syscalls with off_t arguments to handle argument alignment, if needed

the arm syscall abi requires 64-bit arguments to be aligned on an even
register boundary. these ...

0b6eb2dfb2e84a8a51906e7634f3d5edc230b058 authored over 13 years ago
new gcc wrapper now supports pre-4.4 gcc versions and is more robust

d30c331d1f3262223a99408ff2d49641a46ce409 authored over 13 years ago
new installation guide with alternate and primary libc setups

7dd86ec16852cf189e88fb2829caee4e114087e7 authored over 13 years ago
fix some header typos

fd9e01e92a5d665e5b6c3221cd67970038cf7a6c authored over 13 years ago
make stdbool.h conform to c99

d23a543d8acfedb7c0284888d72c4aa347b8c46e authored over 13 years ago
fix incorrect include guard in mqueue.h

2318207adcad74283881ffcefbad92797a2495aa authored over 13 years ago
fix statvfs.c to match new fsid_t definition

246e15c0dc4f2e0120f7e54445d621bd3b1afbd8 authored over 13 years ago
fix the fsid_t structure to match name of __val

this is a case of poorly written man pages not matching the actual
implementation, and why i hat...

32b82cf5cdc282839cc02c57a50c991e376f0348 authored over 13 years ago
fix broken siginfo_t with _GNU_SOURCE defined

this bug was introduced in a recent patch. the problem we're working
around is that broken GNU s...

03a8362930c3c4fe49ee6b9cb2ba9f28153b15d3 authored over 13 years ago
fix the definition of struct statvfs to match lsb abi

at the same time, make struct statfs match the traditional definition
and make it more useful, e...

114c80f1416617399c85c2df09dd307532399903 authored over 13 years ago
add some more siginfo aliases broken software expects...

8c07f6eac843c2acb217083d48c4cef95f2b891c authored over 13 years ago
cleanup redundancy in bits/signal.h versions

f780ac5baf4f204b3980cd07655e1462ca8455c3 authored over 13 years ago
fix the type of wchar_t on arm; support wchar_t varying with arch

really wchar_t should never vary, but the ARM EABI defines it as an
unsigned 32-bit int instead ...

224c7a376acbc2feda12169b806e9845c828595e authored over 13 years ago
fix incorrect long double parameters on arm (and other future ports)

this was the cause of crashes in printf when attempting to print
floating point values.

089aeb08a083d798b59fc84cbff9383f304b1b8f authored over 13 years ago
fix broken multi-inclusion guard in sys/reg.h

53431b091b22a663a428c67f8c617740f5882706 authored over 13 years ago
initial commit of the arm port

this port assumes eabi calling conventions, eabi linux syscall
convention, and presence of the k...

d960d4f2cbf18ff3476c7ac03698ec253885dd8e authored over 13 years ago
disable dynamic linking/loading code in static libc builds, for now

it does not work, but some configure scripts will falsely detect
support then generate programs ...

4f4bf0ad2e8c729de92db06318b9614ab2cdcc5c authored over 13 years ago
cleanup more bits cruft (sysmacros and socket)

b0c088ee550634e07a6289a8ac98cb8009f81c66 authored over 13 years ago
more bits junk (tcp.h)

ca8373dfcf03c808a32b3846f95d802fefc4c2e8 authored over 13 years ago
move invariant netinet/in.h stuff out of bits/in.h

c8175666f22952d1b0ea280b217d8896f0c24bec authored over 13 years ago
overhaul clone syscall wrapping

several things are changed. first, i have removed the old __uniclone
function signature and repl...

3f72cdac73030761120cf32aeef44e7d03e2f1fa authored over 13 years ago
release notes for 0.8.2

455fc98389fac09d8cf7ec4cde310a5b7ca47485 authored over 13 years ago
dummy implementation of set_thread_area

eventually we may have a working "generic" implementation for archs
that don't need anything spe...

d5fd1fa48564a5528f53e5b1cab5063a0545d7f7 authored over 13 years ago
fix assumptions that char is signed

471c6067d9a0665809a125260a7dede8ee357f98 authored over 13 years ago
fix more instances of old a_xchg (use new a_swap name)

2b71a4d1dfb0487cc2558df646a262ffb8261585 authored over 13 years ago
use a_swap rather than old name a_xchg

813d37839b97960d38f10ea93d9c4a391c1c91a5 authored over 13 years ago
fix generic sigsetjmp (unused anyway) pointer signedness error

5b91c2233583ed2a9512269223221186d9a79fc6 authored over 13 years ago
fix idiotic const-correctness error in lio_listio

i blame this one on posix for using hideous const-qualified double
pointers which are unusable w...

144c951b0df6be51a67c9f4d5d3626c22a947f16 authored over 13 years ago
fix ptrace (maybe)

d431d4546e5f028646592533d2fa2a53284bc2e4 authored over 13 years ago
implement ptrace syscall wrapper (untested)

71f7a3c2ce7377a6c77f46524002505b9454861b authored over 13 years ago
0.8.1 release notes

d1d141c5f128d2ea6efa0e5aad25c3f8af41cadc authored over 13 years ago
remove incorrectly-made-visible internal dst offset variable

a94925740447b509c3639c9f8c6ca2d75bbb07ab authored over 13 years ago
fix inconsistent signature for aio_error

7c131a310875fe4255b049b7e7394074d4104311 authored over 13 years ago
fix return types for aio_read and aio_write again

previous fix was backwards and propagated the wrong type rather than
the right one...

4da289e1b3a0d09048d9be1dfc3a7280531a1e48 authored over 13 years ago
fix various errors in function signatures/prototypes found by nsz

13cd969552409e05c941829f2aabb15e2f4d9a1f authored over 13 years ago
fix cruft left in release notes

5e9deea0039204f3b29edb1ffe0e30325d456f84 authored over 13 years ago
fix prototypes for aio_read and aio_write

fd408d27a079ad4ef1b283a0c77d781789c28763 authored over 13 years ago
add missing posix_spawnattr_init/destroy functions

0f1ef81462f3533c52a0b030b4bfe87f7f200dcc authored over 13 years ago