summaryrefslogtreecommitdiffstats
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson2021-12-27 16:01:22 +0100
committerLaurent Vivier2022-01-06 11:40:52 +0100
commit87e9bf23236d3c9da84f2b6164e06be3ecfd45e0 (patch)
tree88649d04f1acdb15166a9e0cb05c209ab85b3aa0 /linux-user/alpha
parentlinux-user: Remove TARGET_SIGSTKSZ (diff)
downloadqemu-87e9bf23236d3c9da84f2b6164e06be3ecfd45e0.tar.gz
qemu-87e9bf23236d3c9da84f2b6164e06be3ecfd45e0.tar.xz
qemu-87e9bf23236d3c9da84f2b6164e06be3ecfd45e0.zip
linux-user: Split out do_prctl and subroutines
Since the prctl constants are supposed to be generic, supply any that are not provided by the host. Split out subroutines for PR_GET_FP_MODE, PR_SET_FP_MODE, PR_GET_VL, PR_SET_VL, PR_RESET_KEYS, PR_SET_TAGGED_ADDR_CTRL, PR_GET_TAGGED_ADDR_CTRL. Return EINVAL for guests that do not support these options rather than pass them on to the host. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20211227150127.2659293-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/target_prctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/alpha/target_prctl.h b/linux-user/alpha/target_prctl.h
new file mode 100644
index 0000000000..eb53b31ad5
--- /dev/null
+++ b/linux-user/alpha/target_prctl.h
@@ -0,0 +1 @@
+/* No special prctl support required. */