Allow small amount of memory be mlock()'ed by unprivileged process?

Dag-Erling Smørgrav des at des.no
Wed May 16 14:24:53 UTC 2012


Xin Li <delphij at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list