This is an archive of the discontinued LLVM Phabricator instance.

Switch sanitizer_procmaps_bsd to internal_sysctl
ClosedPublic

Authored by krytarowski on Sep 28 2018, 4:52 AM.

Details

Summary

Stop using directly sysctl(3) routines in sanitizer_procmaps_bsd
and replace it with internal_sysctl().

This will allow to install interceptors for sysctl(3).

Diff Detail

Event Timeline

krytarowski created this revision.Sep 28 2018, 4:52 AM
vitalybuka accepted this revision.Sep 28 2018, 12:51 PM
This revision is now accepted and ready to land.Sep 28 2018, 12:51 PM
This revision was automatically updated to reflect the committed changes.