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 misaligned address buffers in gethostbyname[2][_r] results

mistakenly ordering strings before addresses in the result buffer
broke the alignment that the p...

4da0bc5ef8e0fdea65335599d947d74b7b321daa authored over 8 years ago
fix failure to obtain EOWNERDEAD status for process-shared robust mutexes

Linux's documentation (robust-futex-ABI.txt) claims that, when a
process dies with a futex on th...

384d103d94dba0472a587861f67d7ed6e8955f86 authored over 8 years ago
remove comments on copyright status from UTF-8 implementation files

despite clarifications made to the COPYRIGHT file in commit
f0a61399330bae42beeb27d6ecd05570b338...

6cec7bc57f599f43f4041cec2093e3c9231dbaab authored over 8 years ago
avoid padding gaps in struct sockaddr_storage

compilers are free not to copy, or in some cases to clobber, padding
bytes in a structure. while...

1e6fc0b690191005a49468c296ad49d0caacacf1 authored over 8 years ago
update sys/socket.h to linux v4.6

kernel connection multiplexor macros AF_KCM, PF_KCM, SOL_KCM were
added in linux commit ab7ac4eb...

a0bb50a14216e7be7453abee2e7b5830e2a7c4c1 authored over 8 years ago
add new tcp_info fields from linux v4.6

new fields and associated linux commit:
tcpi_notsent_bytes, tcpi_min_rtt cd9b266095f422267bddbec...

349877755d283533c19c86244d17801574a60b51 authored over 8 years ago
add CLONE_NEWCGROUP clone flag, new in linux v4.6

flag for new cgroup namespace, added in linux commit
5e2bec7c2248ae27c5b16cd97215ae05c1d39179

1d561c2fa4eaf321022330eca0f6598feda62888 authored over 8 years ago
update siginfo struct for linux v4.6

x86 protection key faults are reported in the si_pkey field,
added in linux commit cd0ea35ff5511...

19f87240d5e1d198b4e1115ed8210ae29519f837 authored over 8 years ago
add ETH_P_MACSEC netinet/if_ether.h, new in linux v4.6

ethertype for macsec added in linux commit
dece8d2b78d19df7fe5e4e965f1f0d1a3e188d1b

7ea37c7aa40ba4d3d46a4427402dfef09ef0253b authored over 8 years ago
add SO_CNX_ADVICE to sys/socket.h, new in linux v4.6

new socket option so application can give advice about routing
path quality of connected udp soc...

f6f4aa5ddb8b28f31d35131af78b7254c11445d4 authored over 8 years ago
add preadv2 and pwritev2 syscall numbers for linux v4.6

the syscalls take an additional flag argument, they were added in commit
f17d8b35452cab31a70d224...

78b1f3cb1406b475ad8800a64197f2e0bf04d5ef authored over 8 years ago
fix a64l undefined behavior on ILP32 archs, wrong results on LP64 archs

the difference of pointers is a signed type ptrdiff_t; if it is only
32-bit, left-shifting it by...

77baaa47e107f176fb2dc150dd6a9ad87f6cbe24 authored over 8 years ago
fix undefined pointer arithmetic in CMSG_NXTHDR macro

previously, the only way the stopping condition could be met with
correct lengths in the headers...

81fb75a1d75c20d97292cbbe4cde6a1e65871abe authored over 8 years ago
fix the use of uninitialized value in regcomp

the num_submatches field of some ast nodes was not initialized in
tre_add_tag_{left,right}, but ...

51eeb6ebc94d965768143c45e9f39b0a7998bdbd authored over 8 years ago
deduplicate __NR_* and SYS_* syscall number definitions

63e3a1661f1fa5552e2023683617ce09fac3248b authored over 8 years ago
x32: eliminate __X32_SYSCALL_BIT constant

8ef6170b43e36d4daedc61f0f8177a8cbe18ceda authored over 8 years ago
x32: remove arch-specific syscall remapping

These system calls are already all remapped in an arch-agnostic manner in
src/internal/syscall.h

622fe8b5cf15858b6cbb8346fb3d7c388f635849 authored over 8 years ago
fix spurious trailing whitespace in powerpc & powerpc64 bits/errno.h

49631b7b6c8b8c055aae5b6948930c219b95fdef authored over 8 years ago
add powerpc64 port

c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d authored over 8 years ago
fix redundant processing of --build flag in configure script

The --build flag is listed in two case statement entries in configure,
which causes the second e...

6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff authored over 8 years ago
fix incorrect protocol name and number for egp

previously if you called getprotobyname("egp") you would get
NULL because \008 is invalid octal ...

4b619e5c61d7d4cf344b355be8b1acb0f0795ea9 authored over 8 years ago
follow standard configure behavior for cross compile prefix

the standard configure interface, which our configure script tries to
implement, identifies cros...

2d49c2243fbe3322961e6f0a052cc3a28acd1fe2 authored over 8 years ago
update COPYRIGHT file to clarify that permissions apply for all files

these changes are the outcome of a long mailing list thread that took
place March 2016, "musl li...

f0a61399330bae42beeb27d6ecd05570b3382a60 authored over 8 years ago
fix FILE buffer underflow in ungetwc

commit 7e816a6487932cbb3cb71d94b609e50e81f4e5bf (version 1.1.11
release cycle) moved the code th...

6ed791e768d83b40ed56c99dbb1ed72c1e49aae7 authored almost 9 years ago
fix thread structure/dtv-pointer corruption on powerpc

per the powerpc psabi, offset 4 of the stack at call time belongs to
the callee and is used for ...

be999f7a54e81656ea0409030205177327a7450c authored almost 9 years ago
remove dead store in res_msend

The variable nss is set to zero in following line.

e7d05c7894aa15ea6decdeca481ffed3f14cb521 authored almost 9 years ago
add mips n32 port (ILP32 ABI for mips64)

based on patch submitted by Jaydeep Patil, with minor changes.

5972c4a4113e2a4de5edf519faf15296ae1eb3ed authored almost 9 years ago
add support for mips and mips64 r6 isa

mips32r6 and mips64r6 are actually new isas at both the asm source and
opcode levels (pre-r6 cod...

6d99ad91e869aab35a4d76d34c3c9eaf29482bad authored almost 9 years ago
fix read past end of haystack buffer for short needles in memmem

the two/three/four byte memmem specializations are not prepared to
handle haystacks shorter than...

c718f9fc1b4bd913eff10d0c12763f90b2bc487c authored almost 9 years ago
fix regression disabling use of pause instruction for x86 a_spin

commits e24984efd5c6ac5ea8e6cb6cd914fa8435d458bc and
16b55298dc4b6a54d287d7494e04542667ef8861 in...

5c3412d22555d03a1c00578ba8faaa8dc9206420 authored almost 9 years ago
fix undefined pointer comparison in stdio-internal __toread

the comparison f->wpos > f->buf has undefined behavior when f->wpos is
a null pointer, despite t...

6d1a3dfeaf2caac4033a3c65822fb4e7e14866c7 authored almost 9 years ago
fix gethostbyaddr_r to fill struct hostent.h_length as appropriate

5978eb703ce0e64dd778a88c1ffffb76fe5e2202 authored almost 9 years ago
add MADV_FREE madvise command from linux v4.5

allows the os to free the marked pages lazily on memory pressure.
expected to increase malloc pe...

d578c74e677c9c29bfa0b5eec1f21506b9c05558 authored almost 9 years ago
add EPOLLEXCLUSIVE epoll flag from linux v4.5

new flag for exclusive wakeup mode when an event source fd is attached
to multiple epoll fds but...

b10ca0f560491ed9e353ead6e35f8992e9800c7a authored almost 9 years ago
add SO_ATTACH_REUSEPORT_[CE]BPF socket options from linux v4.5

new socket options for setting classic or extended BPF program
for sockets in a SO_REUSEPORT gro...

c1aabc6cacc15feef8e5db4cbfee14ee8be2ff26 authored almost 9 years ago
add IPV6_HDRINCL socket option from linux v4.5

new in linux commit 715f504b118998c41a2079a17e16bf5a8a114885
same as IP_HDRINCL but for SOL_IPV6...

8ffa0375f2008818f443b4fdc7d481715cd6a5a0 authored almost 9 years ago
add copy_file_range syscall numbers from linux v4.5

it was introduced for offloading copying between regular files
in linux commit 29732938a6289a15e...

84d4f5eee5a291dcb25a2a8f781a9a48f70f4731 authored almost 9 years ago
mips64: add recent linux syscall numbers

add userfaultfd, membarrier and mlock2 system call numbers.

2de52704ca644f129cc87ac1b28a06198d7dd829 authored almost 9 years ago
fix outdated pathnames in COPYRIGHT file

dc4520d9c0b79bc5944f509e4e9061e5081e38ca authored almost 9 years ago
deduplicate bits/mman.h

currently five targets use the same mman.h constants and the rest
share most constants too, so m...

e9f1c7981ae00ad25d59018c1df26897e2effdad authored almost 9 years ago
fix padding string formats to width in wide printf variants

the idiom fprintf(f, "%.*s", n, "") was wrongly used in vfwprintf as a
means of producing n spac...

4aac019a0efd59011a48d031ad046c934c7e8365 authored almost 9 years ago
correct pointer types for a_ll_p and a_sc_p primitives on mips64

these changes should not affect generated code, but they reflect that
the underlying objects ope...

de400b6609becbc6a5ae87fa8b155f02a860e257 authored almost 9 years ago
make mips64 a_sc_p atomic primitive's asm constraints work with clang

apparently clang does not accept matching-register input and output
constraints that differ in s...

27bf42cd9d85e242f1ffac8d99330da120c8dfdb authored almost 9 years ago
make configure check for unsupported (SPE) powerpc hard-float models

the SPE ABI may be compatible with soft-float, but actually making it
work requires some additio...

636a4799dd5bf11a1fcd209906c088ed948b821c authored almost 9 years ago
add powerpc soft-float support

Some PowerPC CPUs (e.g. Freescale MPC85xx) have a completely different
instruction set for float...

5a92dd95c77cee81755f1a441ae0b71e3ae2bcdb authored almost 9 years ago
env: avoid leaving dangling pointers in __env_map

This is the minimal fix for __putenv leaving a pointer to freed heap
storage in __env_map array,...

9543656cc32fda48fc463f332ee20e91eed2b768 authored almost 9 years ago
update documentation files for mips64 port

589aefa5b061647e8b9ad9bca3aaa8dc6222460a authored almost 9 years ago
add mips64 port

patch by Mahesh Bodapati and Jaydeep Patil of Imagination
Technologies.

83933573aff71a5d178ab71912f177d2d844e63e authored almost 9 years ago
generalize mips-specific reloc code not to hard-code sym/type encoding

this change is made in preparation for adding the mips64 port, which
needs a 64-bit (and mips64-...

71392a91c333d47b6b3c8f99c897e3b5a7eb6d58 authored almost 9 years ago
math: fix expf(-NAN) and exp2f(-NAN) to return -NAN instead of 0

expf(-NAN) was treated as expf(-large) which unconditionally
returns +0, so special case +-NAN.
...

b023c03b574acdfd73418314a5dcaa83e5cea5a0 authored almost 9 years ago
add sched_getcpu vDSO support

This brings the call to an actually usable speed.
Quick unscientific benchmark: 14ns : 102ns :: ...

db66ef1f7db7c5b672591a97a97bc789c9efe2f3 authored almost 9 years ago
add sched_getcpu

This is a GNU extension, but a fairly minor one, for a system call that
otherwise has no libc wr...

98d335735d64ee34a34cb9c08ea2cb51a076d2a1 authored almost 9 years ago
fix ^* at the start of a complete BRE

This is a workaround to treat * as literal * at the start of a BRE.

Ideally ^ would be treated ...

29b13575376509bb21539711f30c1deaf0823033 authored almost 9 years ago
fix * at the start of a BRE subexpression

commit 7eaa76fc2e7993582989d3838b1ac32dd8abac09 made * invalid at
the start of a BRE subexpressi...

39ea71fb8afddda879a1999f2a203dfdaf57a639 authored almost 9 years ago
explicitly include stdio.h to get EOF definition needed by wctob

6e694d6960d9d50a119e8660c95bf9308e609053 authored almost 9 years ago
handle non-matching address family entries in hosts file

name_from_hosts failed to account for the possibility of an address
family error from name_from_...

6d70c08a2c37745df637b231711f6dec79dbc6e1 authored almost 9 years ago
make aarch64 atomic_arch.h report that it defines pointer-sized ll/sc

at present this is done only for consistency, since this file defines
its own a_cas_p rather tha...

fd224a800b68843c4d8d1002b07dd91041a7fa32 authored almost 9 years ago
allow implementing a_cas_p with pointer-sized ll/sc

No current ports do this, but it will be useful for porting to 64-bit ll/sc
architectures, such ...

225f6a6b5b7173b6655e4f5d49b5b9fea70bf3bb authored almost 9 years ago
release 1.1.14

074e6b3fe3f2ad89b991f3d8ab0932035b312a62 authored almost 9 years ago
generate list of crt files to install instead of hard-coding in makefile

this follows the principle of having the source tree layout define
build semantics. it also make...

8b084f06d0e17a8814147c386042f19829aff961 authored almost 9 years ago
add arch tuple matching for nt32 and nt64 in configure

the nt32 and nt64 archs will be provided by the midipix project for
building musl on top of its ...

4c101e158a59eafb8adbfeabab13a8747e4a97cb authored almost 9 years ago
work around regression building for armhf with clang (compiler bug)

commit e4355bd6bec89688e8c739cd7b4c76e675643dca moved the math asm
from external source files to...

71c334f951d9ffa4d8bdc71bdd49628e5ae4512b authored almost 9 years ago
improve macro logic for enabling arm math asm

in order to take advantage of the fpu in -mfloat-abi=softfp mode, the
__VFP_FP__ (presence of vf...

ed97dfd979c054b8c598875410529077dad84c02 authored almost 9 years ago
update authors/contributors list

these additions were made based on scanning commit authors since the
last update, at the time of...

790580b2fc47bc20e613336cb937a120422a770c authored almost 9 years ago
fix regression in SH/FDPIC dynamic linker

the dynamic linker was found to hang when used as the PT_INTERP, but
not when invoked as a comma...

2d0290debf28d9fddd3f1807fe12b1c64f96ab23 authored almost 9 years ago
partly revert detection of broken float in configure

commit 80fbaac4cd1930e9545a5d36bf46ae49011d2ce8 broke all soft-float
archs, where gcc defines __...

5030e4a0605707c3f84c04c70ac689ca6ee54ffd authored almost 9 years ago
support clean/distclean make targets in unconfigured tree

commit 2f853dd6b9a95d5b13ee8f9df762125e0588df5d moved the error
handling for $(ARCH) not being s...

157e28492a287907fb6f3d39894c2c1b84122b51 authored almost 9 years ago
adjust makefile to make crt/ and ldso/ sources arch-replaceable

prior to commit 2f853dd6b9a95d5b13ee8f9df762125e0588df5d which
overhauled the makefile for out-o...

63bcda4d8f4074e9d92ae156afd0dced6e64eb65 authored almost 9 years ago
make configure attempt to catch broken floating point CFLAGS/defaults

80fbaac4cd1930e9545a5d36bf46ae49011d2ce8 authored almost 9 years ago
in crypt-sha*, reject excessive rounds as error rather than clamping

the reference implementation clamps rounds to [1000,999999999]. we
further limited rounds to at ...

cf115059ba0ecd611008c89c78c37b62f8e6d6af authored almost 9 years ago
fix unlikely corner cases in getopt's message printing

like fputs (see commit 10a17dfbad2c267d885817abc9c7589fc7ff630b), the
message printing code for ...

ef2b5e9f13a7f216d6d64aeccc6b33c1262faece authored almost 9 years ago
fix assumption in fputs that fwrite returning 0 implies an error

internally, the idiom of passing nmemb=1 to fwrite and interpreting
the return value of fwrite (...

10a17dfbad2c267d885817abc9c7589fc7ff630b authored almost 9 years ago
release 1.1.13

9c102700a7b9e743da692d3cb6bfa580fcdd4379 authored almost 9 years ago
do not define static_assert macro for pre-C11 compilers

some software simply uses static_assert if the macro is defined, and
this breaks if the compiler...

0ed932f34f11663e6b3ddfa866b1798a5938a3dc authored almost 9 years ago
add declarations for utmpname/utmpxname to appropriate headers

commit 378f8cb5222b63e4f8532c757ce54e4074567e1f added these functions
(as stubs) but left them w...

692b16d14b913676567be82a56211adc250793c7 authored almost 9 years ago
fix return value for fread/fwrite when size argument is 0

when the size argument was zero but nmemb was nonzero, these functions
were returning nmemb, des...

500c6886c654fd45e4926990fee2c61d816be197 authored almost 9 years ago
fix line-buffered flush omission for odd usage of putc-family functions

as specified, the int argument providing the character to write is
converted to type unsigned ch...

416d1c7a711807384cc21a18163475cf757bbcb5 authored almost 9 years ago
fix failed write reporting by fwrite in line-buffered mode

when a write error occurred while flushing output due to a newline,
fwrite falsely reported all ...

5a6e8d098abfef67028e6c3edbac39e0bbaf8bd8 authored almost 9 years ago
remove workaround for broken mips assemblers

the workaround was for a bug that botched .gpword references to local
labels, applying a nonsens...

869a9df5b5f7da57ebd86d146e25f78450678eeb authored almost 9 years ago
in mips cancellable syscall asm, don't assume gp register is valid

the old __cp_cancel code path loaded the address of __cancel from the
GOT using the $gp register...

756c8af8589265e99e454fe3adcda1d0bc5e1963 authored almost 9 years ago
avoid using signals when a thread attempts to cancel itself

not only is pthread_kill expensive in this case; it also breaks
testing under qemu app-level emu...

aecda35373511c5bf02c0f708bd262adb1a09287 authored almost 9 years ago
make configure accept -h as an alias for --help

47314f1e6780bd561151c3241d4bcf7b861ed3ee authored almost 9 years ago
update INSTALL file with new archs, compiler info

add aarch64 and or1k archs, upgrade sh from experimental, and note
that sh now supports the FDPI...

40891ae6dbc1c6113c4a826656a28143648df159 authored almost 9 years ago
fix malloc_usable_size for NULL input

the linux man page specifies malloc_usable_size(0) to return 0 and
this is the semantics other i...

d1507646975cbf6c3e511ba07b193f27f032d108 authored almost 9 years ago
regex: increase the stack tre uses for tnfa creation

10k elements stack is increased to 1000k, otherwise tnfa creation fails
for reasonable sized pat...

2810b30fc3c515e38d6acabe87de7b48bb8bfc7b authored almost 9 years ago
better a_sc inline asm constraint on aarch64 and arm

"Q" input constraint was used for the written object, instead of "=Q"
output constraint. this s...

3b27725385614d44add9351191765181edc3f4c1 authored almost 9 years ago
don't suppress shared libc when linker lacks -Bsymbolic-functions

previous work overhauling the dynamic linker made it so that linking
libc with -Bsymbolic-functi...

65498f289bded83afb809b24d850647e7c91cd58 authored almost 9 years ago
ldso: fix GDB dynamic linker info on MIPS

GDB is looking for a pointer to the ldso debug info in the data of the
..rld_map section.

Signe...

c18d05f0e8909ec54252b251c441b5dd903268f8 authored almost 9 years ago
regex: simplify the {,} repetition parsing logic

831e9d9efa61566a25c1dcdbd28f55daeea4dd32 authored almost 9 years ago
regex: treat \+, \? as repetitions in BRE

These are undefined escape sequences by the standard, but often
used in sed scripts.

25160f1c08235cf5b6a9617c5640380618a0f6ff authored almost 9 years ago
regex: rewrite the repetition parsing code

The goto logic was hard to follow and modify. This is
in preparation for the BRE \+ and \? support.

03498ec22a4804ddbd8203d9ac94b6f7b6574b3c authored almost 9 years ago
regex: treat \| in BRE as alternation

The standard does not define semantics for \| in BRE, but some code
depends on it meaning altern...

da4cc13b9705e7d3a02216959b9711b3b30828c1 authored almost 9 years ago
regex: reject repetitions in some cases with REG_BADRPT

Previously repetitions were accepted after empty expressions like
in (*|?)|{2}, but in BRE the h...

7eaa76fc2e7993582989d3838b1ac32dd8abac09 authored almost 9 years ago
regex: clean up position accounting for literal nodes

This should not change the meaning of the code, just make the intent
clearer: advancing position...

a8cc2253843e30dfbdf0bb2954439d9f2b2e8704 authored almost 9 years ago
fix misaligned pointer-like objects in arm atomics asm source file

this file's .data section was not aligned, and just happened to get
the correct alignment with p...

9ee57db8834ee0d9adb1e6a84a75b0818dbfca69 authored almost 9 years ago
fix regression in dynamic-linked tls when both main app & libs have tls

commit d56460c939c94a6c547abe8238f442b8de10bfbd introduced this bug by
setting up the tls module...

140ad50cbf9244eecc21a0126c743396a34e8106 authored almost 9 years ago
reuse parsed resolv.conf in dns core to avoid re-reading/re-parsing

1563587b45a39512df9b5810dcc5961d4d21a910 authored almost 9 years ago
fix uninitialized variable in new resolv.conf parser

dcad020c9cb450c61ece604d11941ef6e7945330 authored almost 9 years ago
add support for search domains to dns resolver

search is only performed if the search or domain keyword is used in
resolv.conf and the queried ...

3d6e2e477ced37fd328870f018950b283cb7293c authored almost 9 years ago
fix handling of dns response codes

rcode of 3 (NxDomain) was treated as a hard EAI_NONAME failure, but it
should instead return 0 (...

0fef7ffac114befc94ab5fa794a1754442dcd531 authored almost 9 years ago