[PATCH] D51425: Add internal_sysctl() used by FreeBSD, NetBSD, OpenBSD and MacOSX

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 07:05:30 PDT 2018


krytarowski created this revision.
krytarowski added reviewers: vitalybuka, joerg, kcc.
krytarowski added a project: Sanitizers.
Herald added subscribers: llvm-commits, kubamracek.

Switch local sysctl(2) calls to internal_sysctl().

This is a preparation for introduction of interceptors for
the sysctl*() family of functions and switching `internal_sysctl*()`
to libc calls bypassing interceptors.

No functional change intended with this revision.


Repository:
  rL LLVM

https://reviews.llvm.org/D51425

Files:
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_linux_libcdep.cc
  lib/sanitizer_common/sanitizer_mac.cc
  lib/sanitizer_common/sanitizer_openbsd.cc
  lib/sanitizer_common/sanitizer_posix.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51425.163078.patch
Type: text/x-patch
Size: 6101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/bb7de1af/attachment.bin>


More information about the llvm-commits mailing list