lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 14 May 2018 23:03:35 +0300
From:   Alexey Dobriyan <adobriyan@...il.com>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] proc: test /proc/self/syscall

On Tue, May 15, 2018 at 12:34:18AM +0530, Naresh Kamboju wrote:
> Hi Alexey,
> 
> On 27 February 2018 at 02:51, Alexey Dobriyan <adobriyan@...il.com> 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

Yes! Obviously, it was tested on x86_64 only.

arch/arm/tools/syscall.tbl shows read is #3
and pointer looks 32-bit, so what's wrong?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ