Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 16:24:51 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        d@delphij.net
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Allow small amount of memory be mlock()'ed by unprivileged process?
Message-ID:  <861umkurt8.fsf@ds4.des.no>
In-Reply-To: <4FAC3EAB.6050303@delphij.net> (Xin Li's message of "Thu, 10 May 2012 15:18:19 -0700")
References:  <4FAC3EAB.6050303@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Xin Li <delphij@delphij.net> writes:
> Is there any concern of changing this to allow a few memory pages be
> locked and remove the limit when the calling process is superuser?

Good idea - this would allow gnupg to work without a setuid bit.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861umkurt8.fsf>