Possible bug in sys_mmap64
Dmitry V. Levin
ldv at altlinux.org
Fri Aug 19 18:30:41 UTC 2011
On Fri, Aug 19, 2011 at 08:07:38PM +0200, Andreas Schwab wrote:
> Denys Vlasenko <dvlasenk-H+wXaHxf7aLQT0dZR+AlfA at public.gmane.org> writes:
>
> > However, I failed to make test program which invokes mmap64
> > (need to try on x86-64), thus I hesitated to fix the bug.
>
> No linux architecture uses sys_mmap64, since none of them define off_t
> to long long (where long long is bigger than long).
Thanks, indeed.
Let's get rid of this dead and broken "long u_arg[7]" code then.
Nobody builds strace on non-linux platforms nowadays, I suspect.
But that's another story.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110819/0803a50b/attachment.bin>
More information about the Strace-devel
mailing list