diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-01-09 12:24:02 -0500 |
---|---|---|
committer | David A. Long <dave.long@linaro.org> | 2019-02-13 12:08:54 -0500 |
commit | 3f42029a648640c9202c4c417a2a7e9b5fe88adc (patch) | |
tree | e551151c47f851218eef0bf6e12c14cee1172c1e /lib/cpu_rmap.c | |
parent | 8278355efb01231cb6739fe9576d5d5b0977d8e1 (diff) |
ARM: 8789/1: signal: copy registers using __copy_to_user()
Commit 5ca451cf6ed04443774bbb7ee45332dafa42e99f upstream.
When saving the ARM integer registers, use __copy_to_user() to
copy them into user signal frame, rather than __put_user_error().
This has the benefit of disabling/enabling PAN once for the whole copy
intead of once per write.
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David A. Long <dave.long@linaro.org>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions