commit | 7f047de18cf6cd51915d4fdbe1a7e66c38b45e98 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Oct 31 13:53:52 2017 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Tue Nov 07 21:58:12 2017 +0200 |
tree | afc7a3c0835b773f9ef8aa1e9fba8d6b736e68d1 | |
parent | b0fbe46ad82982b289a44ee2495b59b0bad8a842 [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>