This is an archive of the discontinued LLVM Phabricator instance.

Add internal_sysctl() used by FreeBSD, NetBSD, OpenBSD and MacOSX
ClosedPublic

Authored by krytarowski on Aug 29 2018, 7:04 AM.

Details

Summary

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.

Diff Detail

Event Timeline

krytarowski created this revision.Aug 29 2018, 7:04 AM
vitalybuka accepted this revision.Aug 30 2018, 3:23 PM
This revision is now accepted and ready to land.Aug 30 2018, 3:23 PM
This revision was automatically updated to reflect the committed changes.