This is an archive of the discontinued LLVM Phabricator instance.

Stop intercepting forkpty(3) and openpty(3) on NetBSD
ClosedPublic

Authored by krytarowski on Feb 19 2018, 3:08 PM.

Details

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>

Diff Detail

Event Timeline

krytarowski created this revision.Feb 19 2018, 3:08 PM

This also covers FreeBSD.

vitalybuka accepted this revision.Feb 19 2018, 11:33 PM
This revision is now accepted and ready to land.Feb 19 2018, 11:33 PM
This revision was automatically updated to reflect the committed changes.