Re: Memory locking

Bryn Paul Arnold Jones (
Wed, 13 Nov 1996 17:45:12 +0000 (GMT)

On Tue, 12 Nov 1996, Lindsay Haisley wrote:

> I'm engaged on a small contract which is using a cryptographic library which
> attempts to do memory page locking via calls to mlock and munlock. It
> appears that only recent shared libraries (e.g. support
> these calls, but I have no man pages on them on any of my Linux systems. I
> would assume that memory locking must be supported by the kernel in order to
> work. If so, and if it is supported, how far back, version-wise, does this
> support go? The system on which I'm doing my development work is running
> kernel 1.2.13.
> Lindsay Haisley

I can't say for certen, but I think it's a fairly rescent thing (ie
mid to late 1.3.xx), so I'd upgrade to 2.0(.25 so far).

I know it will involve lots of upgrades (see linux/Documentation/Changes
in the 2.0.xx tree), and posabably am a.out -> elf switch (tho it's not
mandatary to have elf, capable tools until you want to build 2.1).

You may want to just install a new distribution that has 2.0 in it
(currently slackware is at about 2.1.8 (guessing), Red Hat 4.0 has 2.1.18)


PGP key pass phrase forgotten,   \ Overload -- core meltdown sequence 
again :( and I don't care ;)      |            initiated.
                                 / This space is intentionally left   
                                |  blank, apart from this text ;-)