diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-05-12 08:54:17 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-05-12 15:26:55 +0200 |
commit | 56290d6e762c1194547e73ff0b948cd79d3a1e03 (patch) | |
tree | c6025736ee13b24a908e7d12496d47b636592345 /malloc/Makefile | |
parent | cd065b68439076971640047cc6eaada27dcfd0f7 (diff) | |
download | glibc-56290d6e762c1194547e73ff0b948cd79d3a1e03.tar glibc-56290d6e762c1194547e73ff0b948cd79d3a1e03.tar.gz glibc-56290d6e762c1194547e73ff0b948cd79d3a1e03.tar.bz2 glibc-56290d6e762c1194547e73ff0b948cd79d3a1e03.zip |
Increase fork signal safety for single-threaded processes [BZ #19703]
This provides a band-aid and addresses the scenario where fork is
called from a signal handler while the process is in the malloc
subsystem (or has acquired the libio list lock). It does not
address the general issue of async-signal-safety of fork;
multi-threaded processes are not covered, and some glibc
subsystems have fork handlers which are not async-signal-safe.
Diffstat (limited to 'malloc/Makefile')
-rw-r--r-- | malloc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index 3283f4f75f..fa1730ecb7 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -29,7 +29,8 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \ tst-malloc-usable tst-realloc tst-posix_memalign \ tst-pvalloc tst-memalign tst-mallopt tst-scratch_buffer \ tst-malloc-backtrace tst-malloc-thread-exit \ - tst-malloc-thread-fail tst-malloc-fork-deadlock + tst-malloc-thread-fail tst-malloc-fork-deadlock \ + tst-mallocfork2 test-srcs = tst-mtrace routines = malloc morecore mcheck mtrace obstack \ |