From owner-freebsd-hackers Fri Dec 13 04:40:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA13990 for hackers-outgoing; Fri, 13 Dec 1996 04:40:31 -0800 (PST) Received: from mail.netvision.net.il (mail.NetVision.net.il [194.90.1.6]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id EAA13985 for ; Fri, 13 Dec 1996 04:40:26 -0800 (PST) Received: from Burka.NetVision.net.il (gena@burka.NetVision.net.il [194.90.6.15]) by mail.netvision.net.il (8.7.5/8.7.3) with SMTP id OAA00755; Fri, 13 Dec 1996 14:40:00 +0200 (IST) Message-ID: X-Mailer: XFMail 0.5-beta [p0] on FreeBSD Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199612131231.XAA32237@godzilla.zeta.org.au> Date: Fri, 13 Dec 1996 14:38:16 +0200 (IST) X-Face: #v>4HN>#D_"[olq9y`HqTYkLVB89Xy|3')Vs9v58JQ*u-xEJVKY`xa.}E?z0RkLI/P&;BJmi0#u=W0).-Y'J4(dw{"54NhSG|YYZG@[)(`e! >jN#L!~qI5fE-JHS+< Organization: NetVision Ltd. From: Gennady Sorokopud To: Bruce Evans Subject: Re: mmap() with offset Cc: hackers@FreeBSD.ORG Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 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