Setting up gpg on an IRIX web server

Remi Guyomarch rguyom@mail.dotcom.fr
Sat, 5 Feb 2000 00:28:38 +0100


On Fri, Feb 04, 2000 at 11:21:41AM +0000, David Pick wrote:

>
> > mstevens> The mlock(3) man page on OpenBSD suggests that regular users can lock
> > mstevens> memory, but only up to a preset quota:
> >
> > mstevens> -cut--
> > mstevens> Since physical memory is a potentially scarce resource, processes are
> > mstevens> limited in how much they can lock down. A single process can mlock
> > mstevens> the minimum of a system-wide ``wired pages'' limit and the per-process
> > mstevens> RLIMIT_MEMLOCK resource limit.
> > mstevens> -cut--
> >
> > it would be nice for other os-s to support this so usage of setuid can
> > be avoided. does anyone know whether there is any work being done to
> > support this? (at least for linux?)
>
> FreeBSD has the identical text in the mlock(3) man page.
Unfortunately, one should read the next line : [..] Since physical memory is a potentially scarce resource, processes are limited in how much they can lock down. A single process can mlock() the minimum of a system-wide `wired pages'' limit and the per-process RLIMIT_MEMLOCK resource limit. These calls are only available to the super-user. [...] ERRORS Mlock() will fail if: [EPERM] The caller is not the super-user. [..]