[PATCH] arm64: fix compat syscall return truncation
Will Deacon
will at kernel.org
Tue Aug 3 03:05:18 PDT 2021
On Mon, 2 Aug 2021 11:42:00 +0100, Mark Rutland wrote:
> Due to inconsistencies in the way we manipulate compat GPRs, we have a
> few issues today:
>
> * For audit and tracing, where error codes are handled as a (native)
> long, negative error codes are expected to be sign-extended to the
> native 64-bits, or they may fail to be matched correctly. Thus a
> syscall which fails with an error may erroneously be identified as
> failing.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: fix compat syscall return truncation
https://git.kernel.org/arm64/c/e30e8d46cf60
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list