Re: [PATCH] Fixes: failed to call mq_open/mq_unlink in qemu-arm

2025-06-06 Thread Laurent Vivier
Le 05/06/2025 à 16:46, Zhang He a écrit : i write some bare-metal c code need mq_open/mq_unlink syscall, but the syscall failed in passed name param check, arg1 in this scenario is the correct address from user-space, arg1 - 1 not. i have tested in arm cortex-m55 cpu model, maybe should add condi

[PATCH] Fixes: failed to call mq_open/mq_unlink in qemu-arm

2025-06-05 Thread Zhang He
i write some bare-metal c code need mq_open/mq_unlink syscall, but the syscall failed in passed name param check, arg1 in this scenario is the correct address from user-space, arg1 - 1 not. i have tested in arm cortex-m55 cpu model, maybe should add conditional compile macro? Signed-off-by: Zhang