musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 0ff18be208 fix incorrect __hwcap seen in dynamic-linked __set_thread_area
the bug fixed in commit b82cd6c78d was
mostly masked on arm because __hwcap was zero at the point of the call
from the dynamic linker to __set_thread_area, causing the access to
libc.auxv to be skipped and kuser_helper versions of TLS access and
atomics to be used instead of the armv6 or v7 versions. however, on
kernels with kuser_helper removed for hardening it would crash.

since __set_thread_area potentially uses __hwcap, it must be
initialized before the function is called. move the AT_HWCAP lookup
from stage 3 to stage 2b.
2020-01-15 16:15:49 -05:00
arch mips: add clone3 syscall numbers from linux v5.4 2019-12-30 18:14:08 -05:00
compat/time32 fix null pointer dereference in setitimer time32 compat shim 2019-12-08 10:35:04 -05:00
crt remove unnecessary and problematic _Noreturn from crt/ldso startup 2019-06-25 19:05:40 -04:00
dist
include define RLIMIT_RTTIME, bump RLIMIT_NLIMITS 2020-01-11 21:10:41 -05:00
ldso fix incorrect __hwcap seen in dynamic-linked __set_thread_area 2020-01-15 16:15:49 -05:00
src fix wcwidth wrongly returning 0 for most of planes 4 and up 2020-01-01 20:02:51 -05:00
tools fix musl-gcc wrapper to be compatible with default-pie gcc toolchains 2018-08-02 19:15:48 -04:00
.gitignore remove obsolete gitignore rules 2016-07-06 00:21:25 -04:00
.mailmap update contributor name 2019-12-07 12:21:35 -05:00
COPYRIGHT update COPYRIGHT year 2020-01-01 11:17:20 -05:00
INSTALL document mips r6 in INSTALL file 2019-09-27 00:22:48 -04:00
Makefile fix failure to build time32 compat shims with out-of-tree builds 2019-11-04 01:47:38 -05:00
README
VERSION release 1.1.24 2019-10-13 17:58:27 -04:00
WHATSNEW release 1.1.24 2019-10-13 17:58:27 -04:00
configure ppc: add configure check for older compilers erroring on 'd' constraint 2019-11-05 21:48:31 -05:00
dynamic.list fix regression in access to optopt object 2018-11-19 13:20:41 -05:00

README

    musl libc

musl, pronounced like the word "mussel", is an MIT-licensed
implementation of the standard C library targetting the Linux syscall
API, suitable for use in a wide range of deployment environments. musl
offers efficient static and dynamic linking support, lightweight code
and low runtime overhead, strong fail-safe guarantees under correct
usage, and correctness in the sense of standards conformance and
safety. musl is built on the principle that these goals are best
achieved through simple code that is easy to understand and maintain.

The 1.1 release series for musl features coverage for all interfaces
defined in ISO C99 and POSIX 2008 base, along with a number of
non-standardized interfaces for compatibility with Linux, BSD, and
glibc functionality.

For basic installation instructions, see the included INSTALL file.
Information on full musl-targeted compiler toolchains, system
bootstrapping, and Linux distributions built on musl can be found on
the project website:

    http://www.musl-libc.org/