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
SO_RCVTIMEO and SO_SNDTIMEO already were, but only in aggregate with
SO_DEBUG and all of the oth...
the immediate usage case for this is to let 32-bit archs moving to
64-bit time_t via symbol redi...
now that all 32-bit archs have 64-bit time types, the values for the
time-related ioctls can be ...
now that all 32-bit archs have 64-bit time types, the values for the
time-related socket option ...
now that all 32-bit archs have 64-bit time_t (and suseconds_t), the
arch-provided _Int64 macro (...
if symbols are being redirected to provide the new time64 ABI, dlsym
must perform matching redir...
these files provide the symbols for the traditional 32-bit time_t ABI
on existing 32-bit archs b...
here _REDIR_TIME64 is used as an indication that there's an old ABI,
and thereby the old time32 ...
these functions cannot provide the glibc lfs64-ABI-compatible symbols
when time_t differs from w...
the time_t members in struct sched_param are just reserved space to
preserve size and alignment....
a _REDIR_TIME64 macro is introduced, which the arch's alltypes.h is
expected to define, to contr...
f7f12e4cf2a918bb9133d93cce6d43a2df9f59d1 authored about 5 years ago by Rich Felker <[email protected]>
06d4075a50b84d4b80e09eb5662fc1153bd559f7 authored about 5 years ago by Rich Felker <[email protected]>
e95538fa07d2b460b25ee6c2fef05f820888776d authored about 5 years ago by u_quark <[email protected]>
the existing implementation of case mappings was very small (typically
around 1.5k), but unmaint...
somehow this seems to have been overlooked. add it now so that
subsequent overhaul of case mappi...
linux fails the open with ENOSPC, but POSIX mandates EAGAIN.
4fd0f2056082441a4503f6bfcb787a7c15754518 authored about 5 years ago by Rich Felker <[email protected]>
for time64 support on 32-bit archs, the kernel interfaces use a
timespec layout padded to match ...
commit 2b4fd6f75b4fa66d28cddcf165ad48e8fda486d1 added time64 for this
function, but did so with ...
presently the kernel does not actually define time64 versions of these
syscalls, and they're not...
this is analogous to commit 40aa18d55ab763e69ad16d0cf1cebea708ffde47.
so far, there are not any ...
this is to match the kernel and glibc interfaces. here, struct pt_regs
is an incomplete type, bu...
the userspace ucontext API has this as an array rather than a
structure.
commit 3c59a868956636b...
c9f48cde0a22641ce3daf54596a9ecebdab91435 authored about 5 years ago by Rich Felker <[email protected]>
aside from the special value EOF, ungetc is specified to accept and
convert values outside the r...
based on patch by Dan Gohman, who caught this via compiler warnings.
analysis by Szabolcs Nagy d...
policy has long been that these definitions are purely a function of
whether long/pointer is 32-...
LLONG_MAX is uniform for all archs we support and plenty of header and
code level logic assumes ...
the resolution of Austin Group issue #162 adds endian.h as a standard
header for future versions...
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea,
__BYTE_ORDER is now available where...
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea,
__BYTE_ORDER is now available where...
this change is motivated by the intersection of several factors.
presently, despite being a nons...
now that commit f7f1079796abc6f97c69521d2334e9c7d3945dd8 removed the
legacy i386 conditional def...
commit ffaaa6d230512f3a7f3d040b943517728f3dc3cf removed the
corresponding stdarg.h support for c...
SQRT.fmt exists on MIPS II+ (float), MIPS III+ (double).
ABS.fmt exists on MIPS I+ but only cor...
1c9d2cba11ef2c9de31a6edb48eb20777be4a4f8 authored about 5 years ago by [email protected] <[email protected]>aa2d23e57c9c95f0ffeb80cb035e5a5be52d8ef0 authored about 5 years ago by Michael Morrell <[email protected]>
ea9525c8bcf6170df59364c4bcd616de1acf8703 authored about 5 years ago by Rich Felker <[email protected]>
Both sqrt and sqrtf shifted the signed exponent as signed int to adjust
the bit representation o...
mbsrtowcs contains "vectorized" loops to quickly step over bytes
without the high bit set; these...
Several math functions are now from the ARM optimized-routines repo
licensed under standard MIT ...
commit ab3eb89a8b83353cdaab12ed017a67a7730f90e9 removed it as part of
correcting the mcontext_t ...
in order for sys/procfs.h (provided by sys/user.h) to be useful, it
needs to match the API its c...
the top-level mcontext_t member names were namespace-violating in
standards profiles before, and...
Some declarations of __tls_get_new were left in the code, even
though the definition got removed...
lrint in (LONG_MAX, 1/DBL_EPSILON) and in (-1/DBL_EPSILON, LONG_MIN)
is not trivial: rounding to...
analogous to commit ddc7c4f936c7a90781072f10dbaa122007e939d0 for
mips64 and n32, remove the hack...
12fecbb4ec6d310bf9d418839be410367ad9cf21 authored over 5 years ago by Rich Felker <[email protected]>
mips32 has two fpu register file variants: FR=0 with 32 32-bit
registers, where pairs of neighbo...
mips r6 (an incompatible isa from traditional mips) removes the hi and
lo registers used for mul...
armv8 removed the coprocessor instructions other than cp14, so
on an armv8 system the related hw...
in the timer thread start function, self->timer_id was accessed
without synchronization; the tim...
The operand sepcifiers in a_cas and a_cas_p for riscv64 were incorrect:
there's a backwards bran...
commit 8a544ee3a2a75af278145b09531177cab4939b41 introduced a
dependency of the failure path for ...
commit cc3a4466605fe8dfc31f3b75779110ac93055bc1 fixed this for printf
but neglected to fix wprin...
we don't actually support building asm source files as thumb1, but
it's possible that the condit...
as noted in commit 05870abeaac0588fb9115cfd11f96880a0af2108, mov lr,pc
is not a valid method for...
mov lr,pc is not a valid way to save the return address in thumb mode
since it omits the thumb b...
AT_HWCAP2 flags, see
linux commit 671db581815faf17cbedd7fcbc48823a247d90b1
arm64: Expose DC...
new mount api syscalls were added, same numers on all targets, see
linux commit a07b20004793d...
b60763092eacceedd799a7eb7c1a7c4e3f7aee5e authored over 5 years ago by Szabolcs Nagy <[email protected]>apply open_tree with OPEN_TREE_CLONE call to the entire subtree, see
linux commit a07b2000479...
81e795e1f1f51308c5c6129a4ed018200f1664d8 authored over 5 years ago by Szabolcs Nagy <[email protected]>see
linux commit a528d35e8bfcc521d7cb70aaf03e1bd296c8493f
statx: Add a system call to make ...
when set a pidfd is stored in parent_tidptr, see
linux commit b3e5838252665ee4cfa76b82bdf1198...
1e22eb2e8f6e778c72655e420c7fb4acf8170f49 authored over 5 years ago by Szabolcs Nagy <[email protected]>ethertype for fake VLAN header for DSA, see
linux commit bf5bc3ce8a8f32a0d45b6820ede8f9fc3e9c...
b5134ccd4d40b0446aa21a42186deb4b6cee0a8f authored over 5 years ago by Szabolcs Nagy <[email protected]>
historically, a number of 32-bit archs used long rather than int for
wchar_t, for no good reason...
previously, when pthread_create failed due to inability to set
explicit scheduling according to ...
commit 8f11e6127fe93093f81a52b15bb1537edc3fc8af wrongly documented
that all changes to libc.thre...
if setting scheduling properties succeeds, the new thread may end up
with lower priority than th...
commit 030e52639248ac8417a4934298caa78c21a228d1 added optreset, a BSD
extension to getopt duplic...
these are presently extensions, thus named with _np to match glibc and
other implementations tha...
f76e183111bc4491ee575c3e2fcc793412acff4e authored over 5 years ago by Árni Dagur <[email protected]>
due to historical accident/sloppiness in glibc, the powerpc,
powerpc64, and sh versions of struc...
commit 9b14ad541068d4f7d0be9bcd1ff4c70090d868d3 introduced this
namespace violation.
these members are associated with an unsupported option group. with
time_t changing size on 32-b...
d493206de7df4db07ad34f24701539ba0a6ed38c deleted all the content of
user.h, but sys/procfs.h exp...
commit ffab43602b5900c86b7040abdda8ccf6cdec95f5 broke this by moving
relocations after not only ...
commit 7590203c486d9002522019045d34ee3dee0a66f5 omitted static here.
b19fa247831bedd78fe4a671786883a25ddb6ca1 authored over 5 years ago by Rich Felker <[email protected]>Using common code path for all symbol lookups fixes three dlsym issues:
- st_shndx of STT_TLS s...
f2435263d7366a81b734c8a69877f1359083ce8c authored over 5 years ago by Szabolcs Nagy <[email protected]>
commit 7a9669e977e5f750cf72ccbd2614f8b72ce02c4c added use of the
symbol reference as the definit...
R_PPC_UADDR32 (R_PPC64_UADDR64) has the same meaning as R_PPC_ADDR32
(R_PPC64_ADDR64), except th...
as a result of commit ffab43602b5900c86b7040abdda8ccf6cdec95f5,
static_tls_cnt is now valid duri...
this is analogous to commit 2f1f51ae7b2d78247568e7fdb8462f3c19e469a4,
and should have been caugh...
This function is a GNU extension introduced in glibc 2.17.
7844ecb590893f8344324837956718001402d297 authored over 5 years ago by Petr Vaněk <[email protected]>
POSIX allows a null pointer, in which case the function only checks
the validity of the clock id...
at the point of this check, the pointer has already been dereferenced.
clock_settime is not defi...
somewhat analogous to commit d0b547dfb5f7678cab6bc39dd736ed6454357ca4,
but here the omission of ...
these accept the netbsd/openbsd message catalog file format,
consisting of a sorted list of set ...
commit 722a1ae3351a03ab25010dbebd492eced664853b inadvertently passed a
copy of {s,us} to the sys...
when the pattern ended with one or more literal path components, or
when the GLOB_MARK flag was ...
the contents conflicted with asm/ptrace.h. glibc does not provide
anything in user.h for riscv, ...
The only reason we needed to preserve the link register was because we
were using a branch-link ...
Rename user registers struct definitions to avoid conflict with the
asm/ptrace.h kernel header t...
49eacf29d29fa704b2feda879978ae64a825358c authored over 5 years ago by Ismael Luceno <[email protected]>
otherwise alarm will break on 32-bit archs when time_t is changed to
64-bit. a second itimerval ...
commit f3ed8bfe8a82af1870ddc8696ed4cc1d5aa6b441 inadvertently removed
labels that were still nee...
commit 31c5fb80b9eae86f801be4f46025bc6532a554c5 introduced underflow
code paths for the i386 mat...
commit 72f50245d018af0c31b38dec83c557a4e5dd1ea8 broke this by creating
a code path where r is un...
commit f3f96f2daa4d00f0e38489fb465cd0244b531abe added these for the
rest of the archs, but the p...
this fixes a major upcoming performance regression introduced by
commit 72f50245d018af0c31b38dec...
otherwise, 32-bit archs that could otherwise share the generic
bits/ipc.h would need to duplicat...
per policy, define the feature test macro to get declarations for the
pthread_tryjoin_np and pth...
the 64-bit/time64 version of the syscall is not API-compatible with
the userspace timex structur...