diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-04-14 09:18:30 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-04-14 09:18:30 +0200 |
commit | 8a727af925be63aa6ea0f5f90e16751fd541626b (patch) | |
tree | 6087805d375e12f7e3b1ad8cbf60dac3a2c9af96 /malloc/malloc.c | |
parent | ae9e94e744c2328b57c6586584b0cd776b7b4ca8 (diff) | |
download | glibc-8a727af925be63aa6ea0f5f90e16751fd541626b.tar.gz glibc-8a727af925be63aa6ea0f5f90e16751fd541626b.tar.xz glibc-8a727af925be63aa6ea0f5f90e16751fd541626b.zip |
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.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 7aad75a26d..ea97df2cb4 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -1074,8 +1074,6 @@ static void* realloc_check(void* oldmem, size_t bytes, const void *caller); static void* memalign_check(size_t alignment, size_t bytes, const void *caller); -static void* malloc_atfork(size_t sz, const void *caller); -static void free_atfork(void* mem, const void *caller); /* ------------------ MMAP support ------------------ */ |