[PATCH] Fix decoding of mmap2 for arm

Dmitry V. Levin ldv at altlinux.org
Mon Mar 9 22:04:04 UTC 2015


On Mon, Mar 09, 2015 at 05:00:40PM +0100, Andreas Schwab wrote:
> * syscallent.h (mmap2): Decode with sys_mmap_4koff, not
> sys_mmap_pgoff.

Yes, according to arch/arm/kernel/entry-common.S,
"off_4k (r5) is always units of 4K".

Is CONFIG_ARM64_64K_PAGES necessary to see the difference?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20150310/aac9bf74/attachment.bin>


More information about the Strace-devel mailing list