class MProtectTest_ExecmodWithConcurrentWrites_Test

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

While a writable private file mapping is made executable, writes to it are temporarily blocked,

so that none can land between the `execmod` check and the protection change. This race itself

can't be tested deterministically. Instead, this checks that a thread that keeps writing to the

mapping is unaffected by the blocking: its write faults are retried rather than reported as

SIGSEGV, and write access is restored after the attempt is denied. The mapping was written

before the attempt, so the denial itself is deterministic.

Public Methods

void MProtectTest_ExecmodWithConcurrentWrites_Test ()

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

void MProtectTest_ExecmodWithConcurrentWrites_Test (const MProtectTest_ExecmodWithConcurrentWrites_Test & )

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

void MProtectTest_ExecmodWithConcurrentWrites_Test (MProtectTest_ExecmodWithConcurrentWrites_Test && )

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

MProtectTest_ExecmodWithConcurrentWrites_Test & operator= (const MProtectTest_ExecmodWithConcurrentWrites_Test & )

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

MProtectTest_ExecmodWithConcurrentWrites_Test & operator= (MProtectTest_ExecmodWithConcurrentWrites_Test && )

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc

void ~MProtectTest_ExecmodWithConcurrentWrites_Test ()

Defined at line 381 of file ../../src/starnix/tests/selinux/userspace/tests/mprotect.cc