aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-10-31 13:53:52 +0100
committerRiku Voipio <riku.voipio@linaro.org>2017-11-07 21:58:12 +0200
commit7f047de18cf6cd51915d4fdbe1a7e66c38b45e98 (patch)
treeafc7a3c0835b773f9ef8aa1e9fba8d6b736e68d1 /bsd-user
parentb0fbe46ad82982b289a44ee2495b59b0bad8a842 (diff)
linux-user: Restrict usage of sa_restorer
Reading and writing to an sa_restorer member that isn't supposed to exist corrupts user memory. Introduce TARGET_ARCH_HAS_SA_RESTORER, similar to the kernel's __ARCH_HAS_SA_RESTORER. Reported-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions