]> granicus.if.org Git - strace/commit
Fixes in "new" mmap
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 18 Feb 2013 02:13:07 +0000 (03:13 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 18 Feb 2013 02:13:07 +0000 (03:13 +0100)
commit8dedb0dc9636f64d6d1865a55d06a6fb6c4a04a9
tree884ddf0950cbd4be653ab3ee7f783f4755e289c8
parent923255cbe89bd75cedddd4d80a3b446eae4b6700
Fixes in "new" mmap

* mem.c (sys_mmap): Ensure unsigned expansion of tcp->u_arg[5].
Add page shift of offset for I386.
Use tcp->ext_arg[5] as offset for X32.
(sys_old_mmap): [X32] Remove this function, X32 doesn't use is.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mem.c
test/x32_mmap.c [new file with mode: 0644]