Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* 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

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