llvm-project/compiler-rt/lib/safestack
Kamil Rytarowski 63bd043a12 Enhance support for NetBSD in SafeStack
Summary:
Always try to detect and call internal or real libc symbols instead of
locally installed interceptors.

This covers:
 - GetTid()
 - TgKill()
 - Mmap()
 - Munmap()
 - Mprotect()

This cherry-picks code from sanitizer_common/sanitizer_netbsd.cc.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Subscribers: llvm-commits, mgorny, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D57179

llvm-svn: 352154
2019-01-25 02:18:01 +00:00
..
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt [safestack] Remove dependency of SafeStack on sanitizer_common 2019-01-18 01:53:37 +00:00
safestack.cc [safestack] Return syscalls for mmap, munmap and mprotect 2019-01-22 05:23:48 +00:00
safestack_platform.h Enhance support for NetBSD in SafeStack 2019-01-25 02:18:01 +00:00
safestack_util.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00