This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer_common] Fix Posix/mmap_write_exec.cpp on 32-bit Solaris
ClosedPublic

Authored by ro on Oct 29 2021, 5:18 AM.

Details

Summary

The new Posix/mmap_write_exec.cpp test FAILs on 32-bit Solaris/x86. This happens
because only mmap is intercepted, but not mmap64 which is used for largefile support.

Fixed by also intercepting mmap64.

Tested on amd64-pc-solaris2.11.

Diff Detail

Event Timeline

ro created this revision.Oct 29 2021, 5:18 AM
ro requested review of this revision.Oct 29 2021, 5:18 AM
Herald added a subscriber: Restricted Project. · View Herald TranscriptOct 29 2021, 5:18 AM
This revision is now accepted and ready to land.Oct 29 2021, 5:27 AM
This revision was landed with ongoing or failed builds.Oct 29 2021, 5:30 AM
This revision was automatically updated to reflect the committed changes.