Stop intercepting forkpty(3) and openpty(3) on NetBSD
authorKamil Rytarowski <n54@gmx.com>
Tue, 20 Feb 2018 15:43:07 +0000 (15:43 +0000)
committerKamil Rytarowski <n54@gmx.com>
Tue, 20 Feb 2018 15:43:07 +0000 (15:43 +0000)
commitbabcdb3a9aa112a5d0864b410b80484ce8832ba5
tree451b0fbc2ff4c871f1c5a6a2345816db9edba29a
parent0d6aeadc40335b9adf8f02c1b1d02b45090c8ecc
Stop intercepting forkpty(3) and openpty(3) on NetBSD

Summary:
forkpty(3) and openpty(3) are part of `-lutil` and we don't intend to reimplement
this system library in sanitizers. Everybody using these functions will need to use
a precompiled library against MSan or other desired sanitizer.

Restrict these functions to Linux-only.

Sponsored by <The NetBSD Foundation>

Reviewers: joerg, vitalybuka

Reviewed By: vitalybuka

Subscribers: llvm-commits, #sanitizers

Tags: #sanitizers

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

llvm-svn: 325585
compiler-rt/lib/msan/msan_interceptors.cc