On Tuesday, May 15, 2018, Mark Kettenis wrote:
> There's a subtle bug in the DL_SYSCALL() implementation on arm64.
> Upon error we're supposed to return -errno. The code does a negate of
> the lower 32-bit bits. This means that syscalls that return a 64-bit
> number
There's a subtle bug in the DL_SYSCALL() implementation on arm64.
Upon error we're supposed to return -errno. The code does a negate of
the lower 32-bit bits. This means that syscalls that return a 64-bit
number (i.e. ssize_t) still return a positive number as the upper 32
bits remain zero. So