commit | 6b48d4e44f5dabe31ba6c657e02ceb0b78b0e9c6 | [log] [tgz] |
---|---|---|
author | Mike McTernan <mikemcternan@google.com> | Wed Mar 13 16:51:00 2024 +0000 |
committer | Mike McTernan <mikemcternan@google.com> | Wed Mar 13 22:55:19 2024 +0000 |
tree | 6d91daed1e5e72a030836275105b357f6658f9da | |
parent | 4b7e8c05dc16b763276867415530ec8bb337eecc [diff] |
trusty: mmutest: restore run_x test, and add run_wx test Restore the run_x test, which shows code can execute from a dynamically allocated region. Update the mm_test_execute() function that creates the executable region so that it does not violate W^X semantics. Add a test for run_wx, to check WXN works on ARM64 where it is supported. Bug: 328206729 Test: build.py qemu-generic-arm64-test-debug --test com.android.kernel.mmutest Change-Id: I8519aad2bd547f5eca4bcadc7fcb007f98996b71