The mremap06 test relies on being able to move a mapping into the unmapped space of an existing reservation (second call to mremap() in do_test()). This is explicitly disallowed in PCuABI (for all syscalls that can create mappings), and it is unclear if the original bug can be reproduced if remapping to another adddress, so let's just skip the test when running in purecap, at least for now.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com --- runtest/morello_transitional | 4 +++- runtest/syscalls_morello_purecap_skip | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/runtest/morello_transitional b/runtest/morello_transitional index 702f62c0f42c..8d52fa1a2ec2 100644 --- a/runtest/morello_transitional +++ b/runtest/morello_transitional @@ -234,7 +234,9 @@ mremap02 mremap02 mremap03 mremap03 mremap04 mremap04 mremap05 mremap05 -mremap06 mremap06 +# This test is currently incompatible with the PCuABI specification +# (mremap() into unmapped space in an existing reservation). +#mremap06 mremap06
munmap01 munmap01 munmap02 munmap02 diff --git a/runtest/syscalls_morello_purecap_skip b/runtest/syscalls_morello_purecap_skip index e4d66ee1b27f..4fa73ed9124c 100644 --- a/runtest/syscalls_morello_purecap_skip +++ b/runtest/syscalls_morello_purecap_skip @@ -6,3 +6,7 @@ process_vm_readv02 process_vm_readv03 process_vm_writev02 + +# This test is currently incompatible with the PCuABI specification +# (mremap() into unmapped space in an existing reservation). +mremap06
Merged into next. Thank you.
--- BR Beata On Wed, Apr 24, 2024 at 10:04:09AM +0100, Kevin Brodsky wrote:
The mremap06 test relies on being able to move a mapping into the unmapped space of an existing reservation (second call to mremap() in do_test()). This is explicitly disallowed in PCuABI (for all syscalls that can create mappings), and it is unclear if the original bug can be reproduced if remapping to another adddress, so let's just skip the test when running in purecap, at least for now.
Signed-off-by: Kevin Brodsky kevin.brodsky@arm.com
runtest/morello_transitional | 4 +++- runtest/syscalls_morello_purecap_skip | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/runtest/morello_transitional b/runtest/morello_transitional index 702f62c0f42c..8d52fa1a2ec2 100644 --- a/runtest/morello_transitional +++ b/runtest/morello_transitional @@ -234,7 +234,9 @@ mremap02 mremap02 mremap03 mremap03 mremap04 mremap04 mremap05 mremap05 -mremap06 mremap06 +# This test is currently incompatible with the PCuABI specification +# (mremap() into unmapped space in an existing reservation). +#mremap06 mremap06 munmap01 munmap01 munmap02 munmap02 diff --git a/runtest/syscalls_morello_purecap_skip b/runtest/syscalls_morello_purecap_skip index e4d66ee1b27f..4fa73ed9124c 100644 --- a/runtest/syscalls_morello_purecap_skip +++ b/runtest/syscalls_morello_purecap_skip @@ -6,3 +6,7 @@ process_vm_readv02 process_vm_readv03 process_vm_writev02
+# This test is currently incompatible with the PCuABI specification +# (mremap() into unmapped space in an existing reservation).
+mremap06
2.43.0
linux-morello-ltp mailing list -- linux-morello-ltp@op-lists.linaro.org To unsubscribe send an email to linux-morello-ltp-leave@op-lists.linaro.org
linux-morello-ltp@op-lists.linaro.org