mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 08:42:28 +00:00
Disable an mprotect() test for now due to SIP
This commit is contained in:
parent
f63c4d4f52
commit
c39eb244d4
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ TEST(mprotect, testRwxMap_vonNeumannRules) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(mprotect, testExecuteFlatFileMapOpenedAsReadonly) {
|
TEST(mprotect, testExecuteFlatFileMapOpenedAsReadonly) {
|
||||||
|
if (IsXnuSilicon()) return; // TODO(jart): Use APE Loader SIP workaround?
|
||||||
int (*p)(void);
|
int (*p)(void);
|
||||||
size_t n = sizeof(kRet31337);
|
size_t n = sizeof(kRet31337);
|
||||||
ASSERT_SYS(0, 3, creat("return31337", 0755));
|
ASSERT_SYS(0, 3, creat("return31337", 0755));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue