[patch] unprivileged mlock(2)

Andrey Zonov zont at FreeBSD.org
Tue Sep 25 12:07:00 UTC 2012


Hi,

Please review this patch [1] which allows unprivileged users call
mlock()/munlock() and mlockall()/munlockall().

AFAIK, these calls were not allowed for every-one because accounting for
mlockall(MCL_FUTURE) was not implemented.

[1] http://people.freebsd.org/~zont/patches/mlock3.patch

-- 
Andrey Zonov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20120925/7e6f3a2f/signature.pgp


More information about the freebsd-security mailing list