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 x32 unistd macros to report as ILP32 not LP64

131276809fe3b7bed6086772bc5e3e9941dc6c6c authored about 7 years ago
fix data race in at_quick_exit

aside from theoretical arbitrary results due to UB, this could
practically cause unbounded overf...

64303156832bc555d11c181168db1e7834ac7069 authored about 7 years ago
add ibm1047 codepage (ebcdic representation of latin1) to iconv

01957bed1e88b77f8271b6157c83c0d7f6be302c authored about 7 years ago
implement strftime padding specifier extensions

notes added by maintainer:

the '-' specifier allows default padding to be suppressed, and '_'
a...

8a6bd7307da3fc4d08dd6a9277b611ccb4971354 authored about 7 years ago
adjust fopencookie structure tag for ABI-compat

stdio types use the struct tag names from glibc libio to match C++
ABI.

2488d31f5a946e63e40058baf29fd2991343ea6f authored about 7 years ago
implement the fopencookie extension to stdio

notes added by maintainer:

this function is a GNU extension. it was chosen over the similar BSD...

061843340fbf2493bb615e20e66f60c5d1ef0455 authored about 7 years ago
make fgetwc handling of encoding errors consistent with/without buffer

previously, fgetwc left all but the first byte of an illegal sequence
unread (available for subs...

4000b0107ddd7fe733fa31d4f078c6fcd35851d6 authored about 7 years ago
fix treatment by fgetws of encoding errors as eof

fgetwc does not set the stream's error indicator on encoding errors,
making ferror insufficient ...

a90d9da1d1b14d81c4f93e1a6d1a686c3312e4ba authored about 7 years ago
fix fgetwc when decoding a character that crosses buffer boundary

Update the buffer position according to the bytes consumed into st when
decoding an incomplete c...

72656157f54c47277b01ec85a6ba7c4084fea6c8 authored about 7 years ago
add reverse iconv mappings for JIS-based encodings

these encodings are still commonly used in messaging protocols and
such. the reverse mapping is ...

a223dbd27ae36fe53f9f67f86caf685b729593fc authored about 7 years ago
generalize iconv framework for 8-bit codepages

previously, 8-bit codepages could only remap the high 128 bytes; the
low range was assumed/force...

105eff9dec51bc4898a74af2854ab71f927a5c3b authored about 7 years ago
fix malloc state corruption when ldso rejects loading a second libc

commit c49d3c8adadfa24235fcf4779bb722b1aa6f480b added logic to detect
attempts to load libc.so v...

a71b46cfd289aa0ff829fc9a436c59c398f8326d authored about 7 years ago
reformat cjk iconv tables to be diff-friendly, match tool output

the new version of the code used to generate these tables forces a
newline every 256 entries, wh...

d060edf6c569ba9df4b52d6bcd93edde812869c9 authored about 7 years ago
prevent fork's errno from being clobbered by atfork handlers

If the syscall fails, errno must be set correctly for the caller.
There's no guarantee that the ...

c21051e90cd27a0b26be0ac66950b7396a156ba1 authored about 7 years ago
add iso-2022-jp support (decoding only) to iconv

this implementation aims to match the baseline defined by rfc1468 (the
original mime charset def...

a39f20bf9f8e59573a479bff23df345b2b4d2345 authored about 7 years ago
add iconv framework for decoding stateful encodings

assuming pointers obtained from malloc have some nonzero alignment,
repurpose the low bit of ico...

5b546faa67544af395d6407553762b37e9711157 authored about 7 years ago
simplify/optimize iconv utf-8 case

the special case where mbrtowc returns 0 but consumed 1 byte of input
does not need to be consid...

0df5b39a1e9c8aaf480e3f8667d7967e08bbef2b authored about 7 years ago
handle ascii range individually in each iconv case

short-circuiting low bytes before the switch precluded support for
character encodings that don'...

9eb6dd5165b803715f82b9f5d4b557878f77a580 authored about 7 years ago
move iconv_close to its own translation unit

this is in preparation to support stateful conversion descriptors,
which are necessarily allocat...

bff59d13a82cd4c02792fd73da0e7c79bda022ff authored about 7 years ago
refactor iconv conversion descriptor encoding/decoding

this change is made to avoid having assumptions about the encoding
spread out across the file, a...

79f49effa0a82d88a9bb0b1992ed2e5fa807f900 authored about 7 years ago
fix getaddrinfo error code for non-numeric service with AI_NUMERICSERV

If AI_NUMERICSERV is specified and a numeric service was not provided,
POSIX mandates getaddrinf...

30fdda6c998d9fc87601b50c7fea4447d52f8d12 authored about 7 years ago
fix mismatched type of __pthread_tsd_run_dtors weak definition

commit a6054e3c94aa0491d7366e4b05ae0d73f661bfe2 changed this function
not to take an argument, b...

67b29947893cd5991a8cbab8aef4f3b2ebfa73fe authored about 7 years ago
s390x: use generic ioctl.h

s390 can use the generic ioctls definitions other than FIOQSIZE (like arm).

this fixes some mis...

13935337f3e9bbf9db9e6403d761bc670ea1a6d5 authored about 7 years ago
microblaze: add statx syscall from linux v4.13

statx number is allocated for microblaze in linux commit
f5ef419630e85e80284cd0256cb5a13a66bbd6c5

4dc44ce8e2948aae55bc7dd6eda517167af7da32 authored about 7 years ago
aarch64: add extra_context struct from linux v4.13

allows expanding the signal frame beyond the 4k reserved space.
new in linux commit 33f082614c34...

ffd048a07b4bc3bd01bef71a77b49aa9cee947cf authored about 7 years ago
add new tcp.h socket options from linux v4.13

TCP_ULP is new in linux commit 734942cc4ea6478eed125af258da1bdbb4afe578
TCP_MD5SIG_EXT is new in...

6651ef1f060738ee1f50cac1fe6d8ce64c359022 authored about 7 years ago
add new fcntl.h macros from linux v4.13

for getting/setting write lifetime hints fcntl commands were
added in linux commit c75b1d9421f80...

14ced22830ef6cbf8e2526d3131c2b443c3f57dd authored about 7 years ago
ioctl TIOCGPTPEER from linux v4.13

added for safe opening of peer end of pty in a mount namespace.
new in linux commit c6325179238f...

754f66afb76f59bb4c43f303fb9406a3841a448f authored about 7 years ago
add SO_ getsockopt options from linux v4.13

SCM_TIMESTAMPING_PKTINFO is new in aad9c8c470f2a8321a99eb053630ce0e199558d6
SO_PEERGROUPS is new...

c35a8bf456ca6ef74e3cc7c4d8f63572bc1e1167 authored about 7 years ago
s390x: add syscall number for s390_guarded_storage from linux v4.12

new syscall in linux commit 916cda1aa1b412d7cf2991c3af7479544942d121

5daaed6a0efd8a2b1410ff5395a6b3bb0e1a907e authored about 7 years ago
i386: add arch_prctl syscall number from linux v4.12

syscall for i386 compat mode on x86_64 for non-x86_64 prctls.
new in linux commit 79170fda313ed5...

2dc6760f3c1013796e4d05798aff824c85bc5265 authored about 7 years ago
aarch64: add new HWCAP_* flags from linux v4.12

hwcap bits for armv8.3 extensions, added in linux commits
c8c3798d2369e4285da44b244638eafe446a8f...

840d45bebd3558cf72ebab6368620a7919641e1d authored about 7 years ago
add ARPHDR_VSOCKMON from linux v4.12

new in linux commit 531b374834c891ae2abf800693074df35a7d1a36

4c811227110ddeb1ccd03ce295a6e8f6ccb905ea authored about 7 years ago
add new SO_ socket options from linux v4.12

SO_MEMINFO added in linux commit a2d133b1d465016d0d97560b11f54ba0ace56d3e
SO_INCOMING_NAPI_ID ad...

54f04d9991c000c7f46eed3dd85b741d840e7164 authored about 7 years ago
add statx syscall numbers from linux v4.11

statx was added in linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f
(there is no libc wrapp...

9864f60e929100e253fc813bd4105d6dd7652787 authored about 7 years ago
add TCP_NLA_* enums from linux v4.11

two new stats for SCM_TIMESTAMPING_OPT_STATS, added in linux commit
7e98102f489775d8c000884fca8a...

c519658ceaf19e1e080ae337a79b56d37dae271c authored about 7 years ago
add TCP_FASTOPEN_CONNECT tcp socket option from linux v4.11

new in linux commit 19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2

ee3ae7827b00c734a3c32839fb1427015900e598 authored about 7 years ago
add ETH_P_IBOE from linux v4.11

new in linux commit 69ae543969abeba48e04dd93277684c8c0895f3b

3eb82f7338e74a5b2f1de6a62a72927452b327a2 authored about 7 years ago
update aarch64 hwcap.h for linux v4.11

new hwcap bits were added in kernel commits
77c97b4ee21290f5f083173d957843b615abbff2
f92f5ce01ee...

bd1560f6eb5127501ad6b7905479b4135c3d1a02 authored about 7 years ago
add kexec_file_load syscall number on powerpc from linux v4.10

added in linux commit 80f60e509a03ff9ff2bdbf9cd1e935c6360b8bd9

cee73f0c10535f87e3e108697a4af5453f5f04c0 authored about 7 years ago
add microblaze syscall numbers from linux v4.10

missing syscalls got allocated on microblaze.

8f5695571322868d89620fca0dc05ffc37bbc040 authored about 7 years ago
add TFD_TIMER_CANCEL_ON_SET that timerfd.h was missing

linux commit 575b1967e10a1f3038266244d2c7a3ca6b99fed8 moved timerfd
apis to a new uapi header wh...

d800403032b17b266430f0679c71f032de430197 authored about 7 years ago
add ETH_MIN_MTU and ETH_MAX_MTU from linux v4.10

min max mtu size definitions mostly for drivers.
new in linux commits a52ad514fdf3b8a57ca4322c92...

f5638c22e3599a720f80da76f2827e5b0f6383ae authored about 7 years ago
add IP_RECVFRAGSIZE and IPV6_RECVFRAGSIZE from linux v4.10

added in linux commit 70ecc24841326396a827deb55c3fefac582a729d

013696918bc9e8b879ddb6f1fa7b3686eef6e702 authored about 7 years ago
add SCM_TIMESTAMPING_OPT_STATS and related TCP_ enums from linux v4.10

for tcp timestamp control messages, new in linux commit
1c885808e45601b2b6f68b30ac1d999e10b6f606...

5c596ed8673836109d5f63a9eaa35d1196b96882 authored about 7 years ago
adjust posix_spawn dup2 action behavior to match future requirements

the resolution to Austin Group issue #411 defined new semantics for
the posix_spawn dup2 file ac...

6fc6ca1a323bc0b6b9e9cdc8fa72221ae18fe206 authored about 7 years ago
release 1.1.18

eb03bde2f24582874cb72b56c7811bf51da0c817 authored about 7 years ago
fix build regression on ARM for ISA levels less than v5

commit 06fbefd10046a0fae7e588b7c6d25fb51811b931 (first included in
release 1.1.17) introduced th...

1b9406b03c0a94ebe2076a8fc1746a8c45e78a83 authored about 7 years ago
fix regression in glob with literal . or .. path component

commit 8c4be3e2209d2a1d3874b8bc2b474668fcbbbac6 was written to
preclude the GLOB_PERIOD extensio...

ec04d122f1182aeb91f39b0e80ae40c68e4d9605 authored over 7 years ago
posix_spawn: use larger stack to cover worst-case in execvpe

execvpe stack-allocates a buffer used to hold the full path
(combination of a PATH entry and the...

004dc9549b8003288e635ba5aa91e3353e1974c4 authored over 7 years ago
release 1.1.17

2cd663fb2d576d590a08c1e40386c07b378d5ad6 authored over 7 years ago
in dns parsing callback, enforce MAXADDRS to preclude overflow

MAXADDRS was chosen not to need enforcement, but the logic used to
compute it assumes the answer...

45ca5d3fcb6f874bf5ba55d0e9651cef68515395 authored over 7 years ago
fix incorrect base name offset from nftw when pathname ends in slash(es)

the rightmost '/' character is not necessarily the delimiter before
the basename; it could be a ...

5b5eb527c5ed5ca2786bf82892a04ca3bdf33d31 authored over 7 years ago
fix read-after-free type error in pthread_detach

calling __unlock on t->exitlock is not valid because __unlock reads
the waiters count after maki...

c1e27367a9b26b9baac0f37a12349fc36567c8b6 authored over 7 years ago
math: rewrite fma with mostly int arithmetics

the freebsd fma code failed to raise underflow exception in some
cases in nearest rounding mode ...

907476925fca05f24ebca5fcdc21f1e58ba7b313 authored over 7 years ago
for executing init array functions, use function type with prototype

this is for consistency with the way it's done in in the dynamic
linker, avoiding a deprecated C...

b3516058eb9ff9e52a8720f0e5c0f6936cce6047 authored over 7 years ago
fix access by setjmp and longjmp to __hwcap on arm built as thumb2

this is a subtle issue with how the assembler/linker work. for the adr
pseudo-instruction used t...

e364774d7ca0a78db1b8457d5094b747eb2df318 authored over 7 years ago
fix use of memset without declaration in sched.h cpu set macros

patch by Jörg Krause.

48be5b6313d7b827acf555769e93b389fa9f6307 authored over 7 years ago
powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h

MAP_{NORESERVE,LOCKED} have different values on powerpc than in generic.

c10bc61508dc52b8315084e628f36a6c3c2dabb1 authored over 7 years ago
work around incorrect EPERM from mmap syscall

under some conditions, the mmap syscall wrongly fails with EPERM
instead of ENOMEM when memory i...

da438ee1fc516c41ba1790cef7be551a9e244397 authored over 7 years ago
fix glob descent into . and .. with GLOB_PERIOD

GLOB_PERIOD is a gnu extension, and GNU glob does not seem to honor it
except in the last path c...

8c4be3e2209d2a1d3874b8bc2b474668fcbbbac6 authored over 7 years ago
don't treat numeric port strings as servent records in getservby*()

some applications use getservbyport to find port numbers that are not
assigned to a service; if ...

565dbee24d4bf55728be1c274fca1e7f3196fd73 authored over 7 years ago
fix signal masking race in pthread_create with priority attributes

if the parent thread was able to set the new thread's priority before
it reached the check for '...

9e01be6e49b9ae433072207f420ef33c8189eb78 authored over 7 years ago
make syscall.h consistent with linux

most of the found naming differences don't matter to musl, because
internally it unifies the sys...

822dddfbf1884553341114663aff56ed87d57663 authored over 7 years ago
handle whitespace before %% in scanf

this is mandated by C and POSIX standards and is in accordance with
glibc behavior.

9255dad97e7bfd4165d1aa0f93f2aae321a7a4d8 authored over 7 years ago
fix OOB reads in Xbyte_memmem

Reported by Leah Neukirchen.

51bdcdc424bd7169c8cccdc2de7cad17f5ea0f70 authored over 7 years ago
free allocations in clearenv

This aligns clearenv with the Linux man page by setting 'environ'
rather than '*environ' to NULL...

cc0dbd5f09337c187156fe8b697245e6ea9263d0 authored over 7 years ago
overhaul environment functions

Rewrite environment access functions to slim down code, fix bugs and
avoid invoking undefined be...

8e932792c917d11545c2953b35159149f7411eca authored over 7 years ago
fix erroneous acceptance of f4 9x xx xx code sequences by utf-8 decoder

the DFA table controlling accepted ranges for the f4 prefix used an
incorrect upper bound of 0xa...

39db00afadc9d8d0456c46eab42b8cb8ff9f375c authored over 7 years ago
fix erroneous stop before input limit in mbsnrtowcs and wcsnrtombs

the value computed as an output limit that bounds the amount of input
consumed below the input l...

11ddc314b57196519316103b02acffe10299dad3 authored over 7 years ago
arm: add HWCAP_ARM_ hwcap macros

Glibc renamed the linux uapi HWCAP_* macros to HWCAP_ARM_*
so have both variants in case some co...

8459c6f2647a378eca2c6375210ddf29dd499043 authored over 7 years ago
add a_clz_64 helper function

counts leading zero bits of a 64bit int, undefined on zero input.
(has nothing to do with atomic...

06fbefd10046a0fae7e588b7c6d25fb51811b931 authored over 7 years ago
s390x: add bits/hwcap.h

aligned with linux arch/s390/include/asm/elf.h
(these macros should be exported into uapi, but t...

3356177979bea717451362e746252ed38de77514 authored over 7 years ago
move IPPORT_RESERVED from netdb.h to netinet/in.h

it's in the reserved namespace for the latter, where it seems it was
historically defined, and s...

5f7efb87a28a311ad377dd26adf53715dedb096d authored over 7 years ago
add powerpc64 and s390x to list of supported archs in INSTALL file

5f3b652afe423dd2bd6f266535f79f685909cf60 authored over 7 years ago
fix undefined behavior in memset due to missing sequence points

patch by Pascal Cuoq.

9d4c902c42b3fda368d7ea64bb9575c46228fa7f authored over 7 years ago
__init_libc: add fallbacks for __progname setup

It is possible for argv[0] to be a null pointer, but the __progname
variable is used to implemen...

c7f56b4d2f58714b7286ef12fa5410213847f2fe authored over 7 years ago
add SIOCGSTAMPNS socket ioctl macro to ioctl.h

it is defined in linux asm/sockios.h since commit
ae40eb1ef30ab4120bd3c8b7e3da99ee53d27a23 (linu...

cc086693808c007679f02d5e0ee592446bf1b386 authored over 7 years ago
fix mips ioctl macros to match linux asm/sockios.h

02b50c9d0a749f3e89e352a5760cc55a11977761 authored over 7 years ago
fix unsynchronized access to FILE structure in fflush(0)

commit c002668eb0352e619ea7064e4940b397b4a6e68d inadvertently moved
the check for unflushed writ...

670d6d01f53b4e85be6b333bf8a137e2be6d3fc3 authored over 7 years ago
fix signed overflow in ftok

511b7042b3844b42a940f1c31436fb04ce93ac19 authored over 7 years ago
fix build failure for sh4a due to missing colon in asm statement

Due to a missing ":" in an asm() statement, the "memory" clobber is
considered by gcc as an inpu...

1698fe6cdcdeaad03aa19a85433d5396ecfc51ef authored over 7 years ago
trap UB from attempts to join a detached thread

passing to pthread_join the id of a thread which is not joinable
results in undefined behavior.
...

80bf5952551c002cf12d96deb145629765272db0 authored over 7 years ago
ppc64: fix setjmp/longjmp handling of TOC pointer

The TOC pointer is constant within a single dso, but needs to be saved
and restored around cross...

e31c8c2d796e8a9596503f079dc567c45f93c2ae authored over 7 years ago
qsort: add a short comment about the algorithm

52cf5c18f4ad3a7a59fb7113cf115c6fc05c7494 authored over 7 years ago
disable global visibility override hack (vis.h) by default

neither current compilers nor linkers treat protected visibility the
way I expected, as having f...

dc2f368e565c37728b0d620380b849c3a1ddd78f authored over 7 years ago
add _NL_LOCALE_NAME extension to nl_langinfo

since setlocale(cat, NULL) is required to return the setting for the
global locale, there is no ...

947d330f68c49680dcc54439f56da2a297228962 authored over 7 years ago
fix missing volatile qualifier on lock in __get_locale

a08910fc2cc739f631b75b2d09b8d72a0d64d285 authored over 7 years ago
remove ineffective compiler assist from printf

The switch statement has no 'default:' case and the function ends
immediately following the swit...

2e6e08423b95b1b2bce7568f650c2b69d8d8fb8b authored over 7 years ago
fix undefined behavior in ptrace

bc42dcbfd9466c22d8ab0f8235e5091689a95aad authored over 7 years ago
unify the use of FUTEX_PRIVATE

The flag 1<<7 is used in several places for different purposes that are
not always easy to disti...

d906fa3118c888227d858b6d642a09e055eca2b4 authored over 7 years ago
fix undefined behavior in free

60ab365cae24063b0f21821860ca16fb63e81f81 authored over 7 years ago
reapply va_arg hacks removal to wprintf

commit 58e2396a9aa23c132faf4198ca4d779c84955b38 missed that the same
code was duplicated in impl...

f6888840613a510c99915ba7732df8ec54d52637 authored over 7 years ago
remove useless declarations in string.h

The two functions str{,n}casecmp_l are specified to be declared in
<strings.h> which is already ...

bd00cc87819875882356298b6c6bdabc1700753f authored over 7 years ago
allow specifying argv[0] when invoking a program via ldso command

previously, the pathname used to load the program was always used as
argv[0]. the default remain...

f3055e0163aad1cebb0867078643b36643c5d95f authored over 7 years ago
fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL

commit 4ff234f6cba96403b5de6d29d48a59fd73252040 inadvertently removed
the logic to do this when ...

43c423af5b8453afde86e4ba81e0fcc663ae7c22 authored over 7 years ago
ldso: avoid spurious & possible erroneous work for libs with no deps

a null pointer for a library's deps list was ambiguous: it could
indicate either no dependencies...

66b53cfa8876342f7e7d7907d30c719c38cd5a1b authored over 7 years ago
powerpc64: add single-instruction math functions

while the official elfv2 abi for "powerpc64le" sets power8 as the
baseline isa, we use it for bo...

94f744195e17cf787a36c259254d56386b31fe20 authored over 7 years ago
fix clang CFLAGS checks and silence unused argument warnings

9d12a6a21fd146f543e8a6b8ec4cce7fd61be606 authored over 7 years ago
s390x: add single-instruction math functions

these were introduced in z196 and not available in the baseline (z900)
ISA level. use __HTM__ as...

ce385fcfb2db74b109067083db4a26ca810eaa14 authored over 7 years ago