This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible bug in sysdeps/unix/sysv/linux/powerpc/mmap64.c


"H . J . Lu" <hjl@lucon.org> writes:

> # man mmap
> ....
>        offset should ordinarily be a multiple of  the  page  size
>        returned by getpagesize(2).

What has this to do with the mmap2() syscall?  If the page size is
changing at some point (if!) the mmap2 interface stays the same.  It's
just that the kernel might report a bug in the use of mmap() if the
offset is not correct.  Again: this has nothing whatsoever to do with
the mmap2 syscall.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]