Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 22:52:27 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Jason Mawdsley" <jason@macadamian.com>
Cc:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: mmap and PROT_WRITE
Message-ID:  <15468.34299.585269.88389@grasshopper.cs.duke.edu>
In-Reply-To: <05e201c1b5cb$73a00520$2a64a8c0@macadamian.com>
References:  <05e201c1b5cb$73a00520$2a64a8c0@macadamian.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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