From: pefv700@chpc.utexas.edu (Christopher Phillips)
Subject: mmap ignores mandatory record locks
Date: 28 Jul 1994 13:14:45 -0500 [thread overview]
Message-ID: <318sil$fec@mintaka.chpc.utexas.edu> (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
next reply other threads:[~1994-07-28 18:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-07-28 18:14 Christopher Phillips [this message]
1994-07-29 10:51 ` mmap ignores mandatory record locks Conor P. Cahill
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox