* Read-only memory on x86?
@ 2001-05-16 12:10 A Dell'elce
2001-05-16 12:20 ` Erik Mouw
0 siblings, 1 reply; 2+ messages in thread
From: A Dell'elce @ 2001-05-16 12:10 UTC (permalink / raw)
To: linux-kernel
Probably it is somewhere hidden on a faq.. but I will ask
again ...
Can I set a memory area or "page" to be read-only, i.e.
generate an interrupt when writing is attempted to a certain
page/area?
Thanks, Antonio
=====
Antonio Dell'elce * http://www.dellelce.com/MyHome/
neaya@yahoo.com * NET2S Ltd., London
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Read-only memory on x86?
2001-05-16 12:10 Read-only memory on x86? A Dell'elce
@ 2001-05-16 12:20 ` Erik Mouw
0 siblings, 0 replies; 2+ messages in thread
From: Erik Mouw @ 2001-05-16 12:20 UTC (permalink / raw)
To: A Dell'elce; +Cc: linux-kernel
On Wed, May 16, 2001 at 05:10:33AM -0700, A Dell'elce wrote:
> Can I set a memory area or "page" to be read-only, i.e.
> generate an interrupt when writing is attempted to a certain
> page/area?
man mmap and catch SIGSEGV. Or see how the DOSemu VGA emulator
manipulates the virtual VGA memory.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-16 12:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16 12:10 Read-only memory on x86? A Dell'elce
2001-05-16 12:20 ` Erik Mouw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®