musl - an implementation of the standard library for Linux-based systems
Go to file
Rich Felker 0c8bc102f2 improve abort fallback behavior when raising SIGABRT fails to terminate
these changes still do not yield a fully-conforming abort, but they
fix two known issues:

- per POSIX, termination via SIGKILL is not "abnormal", but both ISO C
  and POSIX require abort to yield abnormal termination.

- raising SIGKILL fails to do anything to pid 1 in some containers.

now, the trapping instruction produced by a_crash() is expected to
produce abnormal termination, without the risk of invoking a signal
handler since SIGILL and SIGSEGV are blocked, and _Exit, which
contains an infinite loop analogous to the one being removed from
abort itself, is used as a last resort.

this implementation still fails to produce an exit status as if the
process terminated via SIGABRT in cases where SIGABRT is blocked or
ignored, but fixing that is not easy; the obvious pseudo-solutions all
have subtle race conditions where a concurrent fork or exec can expose
incorrect signal state.
2016-07-03 18:01:07 -04:00
arch make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00
crt add powerpc64 port 2016-05-08 22:57:40 -04:00
dist add another example option to dist/config.mak 2012-04-24 16:49:11 -04:00
include make brace placement in public header typedef'd structs consistent 2016-07-03 16:19:28 -04:00
ldso generalize mips-specific reloc code not to hard-code sym/type encoding 2016-03-06 17:25:52 +00:00
src improve abort fallback behavior when raising SIGABRT fails to terminate 2016-07-03 18:01:07 -04:00
tools add CFI generation script for x86_64 2015-10-13 18:09:46 -04:00
.gitignore support out-of-tree build 2016-01-17 16:34:43 -05:00
configure add powerpc64 port 2016-05-08 22:57:40 -04:00
COPYRIGHT update COPYRIGHT file to clarify that permissions apply for all files 2016-04-28 20:41:45 -04:00
INSTALL update documentation files for mips64 port 2016-03-06 17:48:58 +00:00
Makefile deduplicate __NR_* and SYS_* syscall number definitions 2016-05-12 00:34:05 -05:00
README update version reference in the README file 2014-06-25 14:16:53 -04:00
VERSION release 1.1.14 2016-02-22 00:07:05 -05:00
WHATSNEW release 1.1.14 2016-02-22 00:07:05 -05:00

    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/