linux-user: Explicitly untag memory management syscalls
commitee1bf83de79143e5893f19e1aa657d1c37ba0c70
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 12 Feb 2021 18:48:44 +0000 (12 10:48 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Feb 2021 11:04:53 +0000 (16 11:04 +0000)
tree163104bfebabbbf4f8f76fb092c30fea02ea6966
parent3e8f1628e864201692aa28996f8f64f9761555af
linux-user: Explicitly untag memory management syscalls

We define target_mmap et al as untagged, so that they can be
used from the binary loaders.  Explicitly call cpu_untagged_addr
for munmap, mprotect, mremap syscall entry points.

Add a few comments for the syscalls that are exempted by the
kernel's tagged-address-abi.rst.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-14-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/syscall.c