mmap(2) with MAP_ANON honouring offset although it shouldn't

Ed Schouten ed at 80386.nl
Wed Nov 4 16:26:47 UTC 2009


* John Baldwin <jhb at freebsd.org> wrote:
> Note that the spec doesn't cover MAP_ANON at all FWIW.

Yes. I've noticed Linux also uses MAP_ANONYMOUS instead of MAP_ANON.
They do provide MAP_ANON for compatibility, if I remember correctly.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20091104/710109e1/attachment.pgp


More information about the freebsd-hackers mailing list