diff options
author | Will Deacon <will.deacon@arm.com> | 2019-01-03 21:00:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-17 00:04:37 +0300 |
commit | 6c9a2046297f7210498d47de9e348fe93270b099 (patch) | |
tree | 0b0b752c140b9e109f2dd407f7b885332836f7ba /fs/btrfs/volumes.c | |
parent | 4f14f446d115f022492f574bb02cff287b91915d (diff) | |
download | linux-6c9a2046297f7210498d47de9e348fe93270b099.tar.xz |
arm64: compat: Don't pull syscall number from regs in arm_compat_syscall
commit 53290432145a8eb143fe29e06e9c1465d43dc723 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions