qemu-arm 8.1.0 Error mapping file: Operation not permitted
<!--
This is the upstream QEMU issue tracker.
If you are able to, it will greatly facilitate bug triage if you attempt
to reproduce the problem with the latest qemu.git master built from
source. See https://www.qemu.org/download/#source for instructions on
how to do this.
QEMU generally supports the last two releases advertised on
https://www.qemu.org/. Problems with distro-packaged versions of QEMU
older than this should be reported to the distribution instead.
See https://www.qemu.org/contribute/report-a-bug/ for additional
guidance.
If this is a security issue, please consult
https://www.qemu.org/contribute/security-process/
-->
## Host environment
- Operating system: <!-- Windows 10 21H1, Fedora 37, etc. -->
ubuntu 22.04
- OS/kernel version: <!-- For POSIX hosts, use `uname -a` -->
Linux Desktop 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
- Architecture: <!-- x86, ARM, s390x, etc. -->
x86
- QEMU flavor: <!-- qemu-system-x86_64, qemu-aarch64, qemu-img, etc. -->
qemu-arm
- QEMU version: <!-- e.g. `qemu-system-x86_64 --version` -->
version 8.1.0 (v8.1.0)
- QEMU command line:
<!--
Give the smallest, complete command line that exhibits the problem.
If you are using libvirt, virsh, or vmm, you can likely find the QEMU
command line arguments in /var/log/libvirt/qemu/$GUEST.log.
-->
```
./qemu-arm hello_world
```
## Emulated/Virtualized environment
- Operating system: <!-- Windows 10 21H1, Fedora 37, etc. -->
bare matel
- OS/kernel version: <!-- For POSIX guests, use `uname -a`. -->
- Architecture: <!-- x86, ARM, s390x, etc. -->
arm
## Description of problem
<!-- Describe the problem, including any error/crash messages seen. -->
failed to execute the cortex-m binary hello_world, and says:
qemu-arm: /home/user/work/tests/c/hello_world: Error mapping file: Operation not permitted
## Steps to reproduce
1.
```
cat > hello_new.c <<EOF
#include <stdio.h>
int main()
{printf("hello world"); return 0;}
EOF
```
2.
```
arm-none-eabi-gcc -mcpu=cortex-m55 -g hello_world.c -o hello_world -specs=rdimon.specs
```
3.
```
qemu-arm -cpu cortex-m55 hello_world
qemu-arm: /home/user/work/tests/c/hello_world: Error mapping file: Operation not permitted
```
## Additional information
<!--
Attach logs, stack traces, screenshots, etc. Compress the files if necessary.
If using libvirt, libvirt logs and XML domain information may be relevant.
-->
1, version 8.0.4 version is okay\
2, arm-none-eabi-gcc version is 10.3.1 20210824 (release)
<!--
The line below ensures that proper tags are added to the issue.
Please do not remove it.
-->
issue