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 sigsuspend syscall

0558683d3db05bc7022be57bc8ece9699df24228 authored almost 14 years ago
make sigaltstack work (missing macros in signal.h, error conditions)

6871fd773dcedbf056317d5d5e87b4859e97c4a4 authored almost 14 years ago
fix errno behavior in clock_* functions

these functions are specified inconsistent in whether they're
specified to return an error value...

1b538acb0ac8520a8a5fd828add2e52e1d2a41eb authored almost 14 years ago
fix error handling for pthread_sigmask

it must return errno, not -1, and should reject invalud values for how.

500c969f059dc1b12dc3809d270cb169abbd57d3 authored almost 14 years ago
make fork properly initialize the main thread in the child process

3f5420bcda134de80ed6b0f0da1d7d23f147a4cc authored almost 14 years ago
optimize pthread initialization

the set_tid_address returns the tid (which is also the pid when called
from the initial thread) ...

6dc05fbe198ccb326dceb8f05ee943f9a4dfb4ba authored almost 14 years ago
fix race condition in raise - just mask signals

a signal handler could fork after the pid/tid were read, causing the
wrong process to be signall...

0bed7e0acfd34e3fb63ca0e4d99b7592571355a9 authored almost 14 years ago
fix raise semantics with threads.

370f78f2c80c64b7b0780a01e672494a26b5678e authored almost 14 years ago
fix typos in dirent.h

91f7db26212714254e35f3060c22bb1ea20f04fd authored almost 14 years ago
fcntl.h should make availabel the mode constants from sys/stat.h

also remove some legacy nonsense that crept in.

ac12eb91bd7aa6f1f1642de1350c4f29ea0f4d08 authored almost 14 years ago
simplify and optimize pthread_mutex_trylock

31e06075d5a71b53461638ee871bfb6163e20dd5 authored almost 14 years ago
rwlock trylock functions were wrongly returning EAGAIN instead of EBUSY

e5dd18319bbd47c89aac5e1571771958a43e067d authored almost 14 years ago
fix major breakage in pthread_once (it was always deadlocking)

the issue was a break statement that was breaking only from the
switch, not the enclosing for lo...

7e6be42a77989c01155bdc7333ea58206e1563d4 authored almost 14 years ago
fix and optimize non-default-type mutex behavior

problem 1: mutex type from the attribute was being ignored by
pthread_mutex_init, so recursive/e...

4820f9268d3dc1f2aac923de0a591ffd5d54ea89 authored almost 14 years ago
implement pthread_mutexattr_[gs]etpshared functions

1d6b1f15929ff19f4dce4f83947e14f7c3fc3c19 authored almost 14 years ago
disallow cpu time clocks as condattr clock values

9d5251f72b627974bcf438501e07ad42c24d94be authored almost 14 years ago
add macros for use with d_type extension field in dirent

5d0d6d983664cc3816d63432397271719dade83c authored almost 14 years ago
fix off-by-one error in sem_(timed)wait (using old sem value instead of new)

9fe28f703d44ff1ddecdca945bfb5fc87de5e8ad authored almost 14 years ago
use the selected clock from the condattr for pthread_cond_timedwait

5fd4a9816573a3b6a244b73b84ce0cec871321da authored almost 14 years ago
add prototypes for pthread_condattr_* and pthread_rwlockattr_*

7d57e05fa8d15dc838638f7db19e88b02a21c18b authored almost 14 years ago
implement pthread_rwlockattr_* (essentially no-ops)

cc2e0b45a6fe7b0927519cc960fae8e4c0c0ebee authored almost 14 years ago
implement pthread_condattr_* interfaces

note that, while the attributes are stored, they are not used in
pthread_cond_init yet.

b4d40e44e36f28cf5a52e9f0c12e622c3baf1657 authored almost 14 years ago
reject invalid attribute settings

note that this is a pedantic conformance issue and waste of code. it
only affects broken code or...

63b06c0e904fbdbc87b3e17d067b62afe9bb3dd1 authored almost 14 years ago
implement barrier attribute functions (essentially no-ops)

951e76409117f114da4ce9895514658a88a3ad4b authored almost 14 years ago
enforce stack size min in pthread_attr_setstacksize

8c967b93862193421c1ba0ed49b52835e9625ba1 authored almost 14 years ago
implement POSIX semaphores

6fc5fdbdc70dd17ea8e681a361fb4dae541ee953 authored almost 14 years ago
preliminaries to adding POSIX semaphores

03dcc3417ce4388a652bdd053cb2b6af860daf00 authored almost 14 years ago
optimize POSIX TSD for fast pthread_getspecific

b480808a6a511c9350a6559b63938ac261c83a76 authored almost 14 years ago
namespace cleanup in sys/mman.h

a53d2f3425aa32b5770b03acbab12d1df3af7226 authored almost 14 years ago
implement POSIX shared memory

ebd7af6940bebb3b083a4d9239da27a66d1c32ec authored almost 14 years ago
use -L/...../ -lgcc instead of /...../libgcc.a in musl-gcc wrapper

this should avoid warnings about unused libs when not linking, and
might fix some other obscure ...

71df8b2760348c55b1c0d04aeebcae372d9760d3 authored almost 14 years ago
depends on settimeofday which needs _GNU_SOURCE feature test

07e9d63b8f0614f582f0f453437eaafe92441435 authored almost 14 years ago
implement futimens and utimensat

eda8e9da763df3fd25fc6c78602d7c79296eae6b authored almost 14 years ago
cleanup namespace in sys/time.h

b1b465c4382d6956e2973b70d644b0c20f530430 authored almost 14 years ago
implement fexecve

f2374ed852654ca13404986d8c04f82bf58812cb authored almost 14 years ago
cleanup utf-8 multibyte code, use visibility if possible

this code was written independently of musl, with support for a the
backwards, nonstandard "31-b...

015d33c5075b9c0a4df8f28e844e4f7ace91c647 authored almost 14 years ago
fix missing prototype for strsignal

2a195dd31ceb2a483ea547444aac080bee132ad2 authored almost 14 years ago
various changes in preparation for dynamic linking support

prefer using visibility=hidden for __libc internal data, rather than
an accessor function, if th...

41d518360fd2da0f19d6a2f8d8c5f226b201c1e9 authored almost 14 years ago
apply feature test protection to memccpy

73d310e1d2b76cd14b9913bbc3d8e75be91be5a6 authored almost 14 years ago
add implementation of memccpy function

b8ff2aaabb55521686179464593553fe1c91b2e2 authored almost 14 years ago
fix backwards conditional in stpncpy

this only made the function unnecessarily slow on systems with
unaligned access, but would of co...

9f19b3ec8dec1e9402e31172a74b72cd46d3da36 authored almost 14 years ago
rewind must clear the error indicator in addition to seeking

a6238c30d169cbac6bc4c4977622242063e32270 authored almost 14 years ago
change errno to static linkage (improves PIC code generation)

71e6be641fb1e4080c2bb901e83423546d0ad5af authored almost 14 years ago
cleanup comment cruft in startup code

8cd48f0965c8b362ae21ec93528ba64a25a18b7f authored almost 14 years ago
make startup code PIE-compatible

e2ee1bdd8df7637267f5daae74e2849f77751f6e authored almost 14 years ago
remove sample utf-8 code that's not part of the standard library

cfcbea1e4373ad5db085f7efed302e6f229e2171 authored almost 14 years ago
use an accessor function for __libc data pointer when compiled as PIC

prior to this change, a large portion of libc was unusable prior to
relocation by the dynamic li...

d89c9e8a63018810bb6a3e2ae55604996cc21e7b authored almost 14 years ago
avoid referencing address of extern function from vdprintf

this change is in preparation for upcoming PIC/shared library support.
the intent is to avoid go...

4ee039f3545976f9e3e25a7e5d7b58f1f2316dc3 authored almost 14 years ago
shave off 2 bytes from crt1.o _start

ba68efc921578438db5ab263edd2e9c4654bb412 authored almost 14 years ago
cleanup asprintf stuff

3075f7e847b0c717959054b86360722326dbde1e authored almost 14 years ago
prototypes for GNU asprintf/vasprintf

46b99426e16c6a4df9f6217cd7989afd4520f557 authored almost 14 years ago
fix %n specifier, again. this time it was storing the wrong value.

bdc9ed15651b70e89f83c5a9f7d1ba349e624503 authored almost 14 years ago
include sys/sysmacros.h from sys/types.h when _GNU_SOURCE is defined

f552c792c7ce5a560f214e1104d93ee5b0833967 authored almost 14 years ago
fix typo in inotify structure

b1b752372f10c904d398f64266b3188703727736 authored almost 14 years ago
make malloc(0) return unique pointers rather than NULL

this change is made with some reluctance, but i think it's for the
best. correct programs must h...

26031da0f83a2a3ed52190077931ee6c18dfd689 authored almost 14 years ago
fix simple_malloc malloc(0) behavior not to return non-unique pointers

598a0147cde14d093d17b81c102a1757b5ef9975 authored almost 14 years ago
fix simple_malloc size restrictions

do not allow allocations that overflow ptrdiff_t; fix some overflow
checks that were not quite r...

a23baf586a1ca78213d43bce5fee2a30715b473b authored almost 14 years ago
fix null pointer dereference introduced in last sigprocmask commit

96f2197494791f5884c01b5caa908074cc7e90a6 authored almost 14 years ago
make real symbols for the legacy (nonstandardized) utmp functions

this is needed in the long term for ABI compatibility anyway, and in
the immediate, it helps wit...

eee150f39c294883841d4f3ad9ce290ea1529a9e authored almost 14 years ago
resolve some header namespace non-issues

after re-reading 2.2.2 of POSIX 2008, all of these are in the correct
reserved namespaces and do...

d6a1e0c79e84e6f13cd567b6401e0de1f9b5d4bb authored almost 14 years ago
move the GNU siginfo renaming so it doesn't lead to mismatching names

855df698c49610696c562979790381414243c63c authored almost 14 years ago
fill in some missing siginfo stuff in signal.h

8668f033bcd452cd7751ee34de32d77a8df6f9be authored almost 14 years ago
make sys/param.h not depend on PATH_MAX and NAME_MAX

this is a nonstandard header used only by backwards programs, but for
some reason it's extremely...

2b43ef8fc76eaf3912aa98316eae82797494276d authored almost 14 years ago
workaround gcc bug 46926 by providing a dumb sincos implementation

note that this library itself is built with -ffreestanding so sincos.c
should not be miscompiled...

13e8459232608f841d5e3f7171da80a8dfce7941 authored almost 14 years ago
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code

98e02144dabec08c1d652a8cb233900516da6d23 authored almost 14 years ago
fix typo in wordexp.h (note that the function is still unimplemented)

5316d083ec87e91cd11fde900e0158f82563d8dc authored almost 14 years ago
implement the remaining clock_* interfaces

4b1244a0bfec55bc4cad91ff157997929f106215 authored almost 14 years ago
race condition fix: block all signals before decrementing thread count

the existence of a (kernelspace) thread must never have observable
effects after the thread coun...

19eb13b9a4cf2f787f60b6e2a6d26a6cd7d3ffd2 authored almost 14 years ago
prevent sigprocmask/pthread_sigmask from blocking implementation signals

this code was wrongly disabled because the old version was trying to
be too clever and didn't wo...

a49c119276742d7d212fb88f83a8f559ca549e72 authored almost 14 years ago
make pthread_exit run dtors for last thread, wait to decrement thread count

fb11b6b85e1e01daf17228be32d7f98b47517363 authored almost 14 years ago
make mktemp match the historic behavior, and update functions that use it

the historic mktemp is supposed to blank the template string on
failure, rather than returning 0...

69ecbd0f3188be97f91cc0d6415836d23e88f7fc authored almost 14 years ago
fix major bug created from copying mkdtemp logic

2e6239dd064d201c6e1b0f589bae9ff27949d2eb authored almost 14 years ago
add syscall wrappers for inotify

095a5ae6f2466cdd457cdf3e9925b1fbd302c9be authored almost 14 years ago
cleanup cruft left from when kernel and user time_t disagreed

cc2a8228fa0b35c9aee69efa7ac657bb7a4704f9 authored almost 14 years ago
prototype wait3 and wait4

52874c82a85a0f5c4b0eecd78ad8b3a349377cf3 authored almost 14 years ago
add missing WIFCONTINUED macro and improve WIFSIGNALED

f3ef7a61245c5ace26ca13bccf14a28876ea7bfc authored almost 14 years ago
prototypes for brk and sbrk

b386d8186226f28e1b610be657a89e357768efa1 authored almost 14 years ago
support the ugly and deprecated ucontext and sigcontext header stuff...

only the structures, not the functions from ucontext.h, are supported
at this point. the main go...

ad2fe25041622b6cf426b0f98af0e52c2c9727f6 authored almost 14 years ago
add pthread_atfork interface

note that this presently does not handle consistency of the libc's own
global state during forki...

e9417fffb39c299e556c5ad0c1545f0c02618e3c authored almost 14 years ago
major improvements to temp file name generator

use current time in nanoseconds and some potentially-random (if aslr
is enabled) pointer values ...

446b4207cc7a30d8a4d5b2445a5a1b27d440f55d authored almost 14 years ago
reformat mkstemp like mkdtemp

this is cleaner and makes it easy to impose a limit on the number of
retries later if it seems d...

3e9e30166f22f8fb0d5664500bb52a00d1a3c6a3 authored almost 14 years ago
add portable lchown (trivial to support and a few ancient things want it..)

d5ca067c7bb47081c169ff8b0213c73418f0525e authored almost 14 years ago
prepare WHATSNEW for release

982a47843316e65f2b849e9def893195396aeec0 authored almost 14 years ago
document in config.mak sample that x86_64 is supported

6d333355e77107c130e863660a632df953c8b5da authored almost 14 years ago
update WHATSNEW in preparation for release

d09d068f9b01509da0e40405081157f0fcd39324 authored almost 14 years ago
avoid deleting the lib/empty file

127ab575fc2b200459dc5543d25f5e87d3fdb9db authored almost 14 years ago
reorganize pthread data structures and move the definitions to alltypes.h

this allows sys/types.h to provide the pthread types, as required by
POSIX. this design also fac...

e882756311c7b06e59fcc8e582f03852b7dcfd30 authored almost 14 years ago
new solution for empty lib dir (old one had some problems)

4fd159568aa1852fbbe6c11d35ccecaec3715d7c authored almost 14 years ago
improve Makefile handling of git checkouts with missing lib/ and config.mak

a36164c4743df0a9112fb3641966b213694e25f7 authored almost 14 years ago
make daemon try the operations that might fail before fork rather than after

187fe29d5b89644b68cade75a34257a1c32a75f6 authored almost 14 years ago
daemon should check for failures and return -1

19e35c500bd2b5e6146e42705ab9b69c155a2006 authored almost 14 years ago
don't compare elements with themselves during qsort.

this is actually a workaround for a bug in gcc, whereby it asserts
inequality of the keys being ...

b24bc15f5c3828184f123698b4b545fef4edac99 authored almost 14 years ago
ucontext is no longer in the standard, so use gnu-friendly struct name

note that this header is still bogus and needs a lot of work and
factoring into arch-dependent p...

798a12ecc4ec4a7780beaf2f5fb86ffbc9738755 authored almost 14 years ago
some gnu software wrongly uses "struct siginfo" instead of siginfo_t...

417dbe92cbecae31aa569cb4033560eb140bff56 authored almost 14 years ago
add to pthread.h: pthread_mutex_timedlock and sched.h, time.h

56b784d603827a564a40b19228078a361959cd14 authored almost 14 years ago
fix printf %n specifier - missing breaks had it clobbering memory

5cbd76c6b05b381f269e0e204e10690d69f1d6ea authored almost 14 years ago
patch by njk, simplifies thread register initialization for x86_64

It's not necessary to save any registers on the stack across syscall in
x86_64 __set_thread_area...

e3657ba5992468f0340efdb741ec32ac0e0acb5c authored almost 14 years ago
patch from njk: make x86_64 __uniclone branchless.

22cd9cae819a0fd432da4b1d21502a242871e5d9 authored almost 14 years ago
fix compile failure: legacy cuserid needs to define feature test

bad481266e8744f8c4241e577f06e8cabf6f7f89 authored almost 14 years ago
move stdio stuff that's not arch-specific out of bits

571312de5fe09764b2d469642636934f6d8cf608 authored almost 14 years ago