[patch] unprivileged mlock(2)

Bryan Drewery bryan at shatow.net
Tue Aug 28 18:07:28 UTC 2012


On 8/28/2012 11:37 AM, Andrey Zonov wrote:
> Hi,
> 
> We've got RLIMIT_MEMLOCK for years, but this limit is useless, because
> only root may call mlock(2), and root may raise any limits.
> 
> I suggest patch that allows to call mlock(2) for unprivileged users.
> Are there any objections to got it in tree?
> 

FYI, see previous recent thread on this here:

http://lists.freebsd.org/pipermail/freebsd-arch/2012-May/012552.html
and
http://lists.freebsd.org/pipermail/freebsd-arch/2012-June/012606.html

Bryan


More information about the freebsd-arch mailing list