]> git.ipfire.org Git - thirdparty/glibc.git/commit
malloc: Remove malloc hooks from fork handler
authorFlorian Weimer <fweimer@redhat.com>
Thu, 14 Apr 2016 07:18:30 +0000 (09:18 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 9 May 2016 09:22:01 +0000 (11:22 +0200)
commit927170dd59787d9443e07eeb0b22329c4eff1530
tree1fb7d6805b534c25e674e225bc2d7abab7d0ef4d
parent2a71cf409681b89ffb8892b35cac64de79b7adb8
malloc: Remove malloc hooks from fork handler

The fork handler now runs so late that there is no risk anymore that
other fork handlers in the same thread use malloc, so it is no
longer necessary to install malloc hooks which made a subset
of malloc functionality available to the thread that called fork.

(cherry picked from commit 8a727af925be63aa6ea0f5f90e16751fd541626b)
ChangeLog
malloc/arena.c
malloc/malloc.c