From owner-freebsd-hackers Thu Feb 14 19:53: 1 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8EB0B37B405 for ; Thu, 14 Feb 2002 19:52:58 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id WAA24898; Thu, 14 Feb 2002 22:52:57 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g1F3qRK04339; Thu, 14 Feb 2002 22:52:27 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15468.34299.585269.88389@grasshopper.cs.duke.edu> Date: Thu, 14 Feb 2002 22:52:27 -0500 (EST) To: "Jason Mawdsley" Cc: Reply-To: Subject: Re: mmap and PROT_WRITE In-Reply-To: <05e201c1b5cb$73a00520$2a64a8c0@macadamian.com> References: <05e201c1b5cb$73a00520$2a64a8c0@macadamian.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jason Mawdsley writes: > Why can't I write to memory in the first case? > > Is there anyway I can implement writable but no readable memory? > > I read some where that there is no true write only memory do to the > limitations of x86. I think you must have read correctly -- your sample code runs fine (both cases) on FreeBSD/alpha. The same test program dumps core on FreeBSD/i386 Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message