Disable an mprotect() test for now due to SIP

This commit is contained in:
Justine Tunney 2023-11-05 15:38:16 -08:00
parent f63c4d4f52
commit c39eb244d4
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -197,6 +197,7 @@ TEST(mprotect, testRwxMap_vonNeumannRules) {
}
TEST(mprotect, testExecuteFlatFileMapOpenedAsReadonly) {
if (IsXnuSilicon()) return; // TODO(jart): Use APE Loader SIP workaround?
int (*p)(void);
size_t n = sizeof(kRet31337);
ASSERT_SYS(0, 3, creat("return31337", 0755));