liberate malloc_hook_mmap_linux.h from linux_syscall_support

It was not used some time now, as we're rightfully trusting libc
syscall wrapper instead.
This commit is contained in:
Aliaksey Kandratsenka 2021-02-21 13:28:48 -08:00
parent 35301e2e59
commit 2e7094a862

View File

@ -40,11 +40,10 @@
# error Should only be including malloc_hook_mmap_linux.h on linux systems.
#endif
#include <unistd.h>
#include <syscall.h>
#include <sys/mman.h>
#include <errno.h>
#include "base/linux_syscall_support.h"
#include <sys/mman.h>
#include <sys/syscall.h>
#include <unistd.h>
// The x86-32 case and the x86-64 case differ:
// 32b has a mmap2() syscall, 64b does not.