commit | 53290432145a8eb143fe29e06e9c1465d43dc723 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Thu Jan 03 18:00:39 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Fri Jan 04 14:18:01 2019 +0000 |
tree | 1312ac6856bc9d350194a75b1e6a4f219f8c98b0 | |
parent | 169113ece0f29ebe884a6cfcf57c1ace04d8a36a [diff] |
arm64: compat: Don't pull syscall number from regs in arm_compat_syscall The syscall number may have been changed by a tracer, so we should pass the actual number in from the caller instead of pulling it from the saved r7 value directly. Cc: <stable@vger.kernel.org> Cc: Pi-Hsun Shih <pihsun@chromium.org> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>