diff options
author | Kamil Rytarowski <n54@gmx.com> | 2017-08-10 18:40:09 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2017-08-10 18:40:09 +0000 |
commit | 259aa6a72652545279711d06f5d86057e2303575 (patch) | |
tree | dc061bbb1a2e942790af2e569a2d702a4f837c2d /lib/safestack | |
parent | e3829d0bee44db530d5f542b5e49c078b0449ba6 (diff) |
Enable SafeStack on NetBSD
Summary:
make check-safestack:
-- Testing: 8 tests, 8 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 0.44s
Expected Passes : 7
Unsupported Tests : 1
Sponsored by <The NetBSD Foundation>
Reviewers: joerg, vitalybuka, kcc, fjricci, filcab
Reviewed By: vitalybuka
Subscribers: mgorny, llvm-commits, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D36542
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@310646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/safestack')
-rw-r--r-- | lib/safestack/safestack.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/safestack/safestack.cc b/lib/safestack/safestack.cc index b194b6cfa..d783cd5a9 100644 --- a/lib/safestack/safestack.cc +++ b/lib/safestack/safestack.cc @@ -21,7 +21,9 @@ #include <unistd.h> #include <sys/resource.h> #include <sys/types.h> +#if !defined(__NetBSD__) #include <sys/user.h> +#endif #include "interception/interception.h" #include "sanitizer_common/sanitizer_common.h" |