mlock() addendum ...
mlock() addendum ...
- Subject: mlock() addendum ...
- From: John Lazzaro <email@hidden>
- Date: Wed, 21 Nov 2001 15:15:04 -0800
See:
http://lists.gnupg.org/pipermail/gnupg-devel/2001-September/006401.html
for working OS X code that uses mlock() -- the GPG folks use memory
locking in their security code, this example shows the necessary
workaround (the mprotect() call) to get mlock() working.
-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------