From owner-freebsd-hackers Fri Dec 13 11:48:22 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA08809 for hackers-outgoing; Fri, 13 Dec 1996 11:48:22 -0800 (PST) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id LAA08804 for ; Fri, 13 Dec 1996 11:48:17 -0800 (PST) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id NAA08263; Fri, 13 Dec 1996 13:47:15 -0600 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma008248; Fri Dec 13 13:46:56 1996 Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.11.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id NAA21128; Fri, 13 Dec 1996 13:47:14 -0600 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.8.3/8.6.12) with ESMTP id NAA02070; Fri, 13 Dec 1996 13:47:41 -0600 (CST) Message-Id: <199612131947.NAA02070@jake.lodgenet.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Terry Lambert cc: scrappy@hub.org (Marc G. Fournier), erich@lodgenet.com, hackers@freebsd.org Subject: Re: Multiple Buffer allocation of Shared Memory In-reply-to: Your message of "Fri, 13 Dec 1996 12:19:52 MST." <199612131919.MAA15610@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Dec 1996 13:47:41 -0600 From: "Eric L. Hernes" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Terry Lambert writes: > >I believe the mode does not matter. Specifically, the mode is on the >fd, not on the vp. All fd's point to the same vp. > >From mmap(2): ERRORS Mmap() will fail if: [EACCES] The flag PROT_READ was specified as part of the prot param- eter and fd was not open for reading. The flags PROT_WRITE, MAP_SHARED and MAP_WRITE were specified as part of the flags and prot parameters and fd was not open for writing. although the actual implementation is sometimes different from the man page. Again enough speculation... time for t.c ;-) > > Terry Lambert > terry@lambert.org >--- >Any opinions in this posting are my own and not those of my present >or previous employers. eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com