This is an archive of the discontinued LLVM Phabricator instance.

Disable recursive interceptors in signal(3)/MSan
ClosedPublic

Authored by krytarowski on Jun 1 2018, 12:30 PM.

Details

Summary

signal(3) on NetBSD calls internally sigaction(2).

Without disabling the recursive interceptor, there are
false positives about uninitialized memory reads inside libc.

This change fixes execution of such programs as sh(1) and
vmstat(1) in the NetBSD userland.

Sponsored by <The NetBSD Foundation>

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Jun 1 2018, 12:30 PM
vitalybuka accepted this revision.Jun 6 2018, 1:53 PM
This revision is now accepted and ready to land.Jun 6 2018, 1:53 PM
This revision was automatically updated to reflect the committed changes.