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

Artem Belevich art at freebsd.org
Wed May 16 23:10:35 UTC 2012


On Wed, May 16, 2012 at 3:36 PM, Eitan Adler <lists at eitanadler.com> wrote:
> On 16 May 2012 18:32, Adrian Chadd <adrian at freebsd.org> wrote:
>> .. what's to stop a fork() bomb from grabbing all pages?
>
> <quote>+ possibly limiting the number of pages per user, à la
> maxprocperuid.</quote>

Shouldn't RLIMIT_NPROC already limit the damage?

--Artem


More information about the freebsd-arch mailing list