On 5/26/26 07:50, Helge Deller wrote:
From: Helge Deller<[email protected]>

Although most madvise() values are hints, some are important and are
checked by userspace, especially by security-relevant applications like
BoringSLL.  So, return -EINVAL for those functions which we don't emulate.

Signed-off-by: Helge Deller<[email protected]>
Resolves:https://gitlab.com/qemu-project/qemu/-/work_items/3489
---
  linux-user/mmap.c | 32 +++++++++++++++++++++++++++++++-
  1 file changed, 31 insertions(+), 1 deletion(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to