Skip to content

Commit

Permalink
Disable an mprotect() test for now due to SIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Nov 5, 2023
1 parent f63c4d4 commit c39eb24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/libc/runtime/mprotect_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c39eb24

Please sign in to comment.