* mmap ignores mandatory record locks
@ 1994-07-28 18:14 Christopher Phillips
1994-07-29 10:51 ` Conor P. Cahill
0 siblings, 1 reply; 2+ messages in thread
From: Christopher Phillips @ 1994-07-28 18:14 UTC (permalink / raw)
I thought I finally had a decent idea about making memory read-only at
granularities other than page sizes, which would be really neat for
malloc debugging (cf. efence).
Here's the idea:
Have the memory managed by malloc be an mmapped file. To make memory
read-only, have another process do mandatory record locking.
But it turns out that altering mmapped memory bypasses record locking.
(Another implementation doesn't even allow simultaneous mmapping and
record locking.)
Say it ain't so! Or is there another way to solve this?
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mmap ignores mandatory record locks
1994-07-28 18:14 mmap ignores mandatory record locks Christopher Phillips
@ 1994-07-29 10:51 ` Conor P. Cahill
0 siblings, 0 replies; 2+ messages in thread
From: Conor P. Cahill @ 1994-07-29 10:51 UTC (permalink / raw)
In article <318sil$fec@mintaka.chpc.utexas.edu>, pefv700@chpc.utexas.edu (Christopher Phillips) writes:
> I thought I finally had a decent idea about making memory read-only at
> granularities other than page sizes, which would be really neat for
> malloc debugging (cf. efence).
>
> Say it ain't so! Or is there another way to solve this?
One way to solve this is to pick up a copy of SENTINEL, a run-time analysis
tool designed to detect and report on memory access errors. We are about
to release the final version of our Alpha port (it is currently in beta
testing). If you would like further information, please contact info@aib.com
of call 800-296-3000 (703-430-9247).
Conor
--
***** SENTINEL(tm) - the multi-platform run-time analysis tool *****
Conor P. Cahill (703)430-9247 conor.cahill@aib.com
AIB Software, Inc. 46030 Manekin Plaza Dulles, VA 20166
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-07-29 10:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-28 18:14 mmap ignores mandatory record locks Christopher Phillips
1994-07-29 10:51 ` Conor P. Cahill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox