Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 14:38:16 +0200 (IST)
From:      Gennady Sorokopud <gena@NetVision.net.il>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: mmap() with offset
Message-ID:  <XFMail.961213143959.gena@NetVision.net.il>
In-Reply-To: <199612131231.XAA32237@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!
On 13-Dec-96 Bruce Evans wrote:
>mmap() currently requires the offset to be a multiple of PAGE_SIZE (4096).
>This is a bug according to the man page.  Similar restrictions on other
>mmap args were removed in February 1996.  The args get rounded up or down
>to a multiple of PAGE_SIZE as appropriate.
Thanks , i just figured this out by myself, when looking at vm_mmap.c .
Also i'm not sure that this can be defined as "bug", since the same restriction
exists on Solaris, and even documented in the man page.

>Bruce

Best regards.
--------
 Gennady B. Sorokopud - System programmer at NetVision Israel.
 E-Mail: Gennady Sorokopud <gena@NetVision.net.il>
 Homepage: http://www.netvision.net.il/~gena
 PGP public key is available by fingering gena@netvision.net.il

 This message was sent at 13-Dec-96 14:38:16 by XF-Mail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.961213143959.gena>