Re: [PATCH 2/2] proc: test /proc/self/syscall
From: Naresh Kamboju
Date: Mon May 14 2018 - 15:04:25 EST
Hi Alexey,
On 27 February 2018 at 02:51, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> Read from /proc/self/syscall should yield read system call and correct
> args in the output as current is reading /proc/self/syscall.
Is this test expected to work on arm32 bit architecture ?
I have tested on arm32 devices and it returns 1 and reported as FAIL.
Strace output:
<snip>
munmap(0xb6f4a000, 13514) = 0
open("/proc/self/syscall", O_RDONLY) = 3
read(3, "3 0x3 0xbeacfbe0 0x40 0x3 0xbeac"..., 64) = 64
exit_group(0) = ?
+++ exited with 0 +++
Ref:
selftests: proc-self-syscall failed on arm32
https://bugs.linaro.org/show_bug.cgi?id=3783