Re: Unswappable memory needed is user space

Chris Wedgwood (cw@ix.net.nz)
Sat, 12 Dec 1998 13:29:36 +1300


On Tue, Dec 08, 1998 at 06:13:19PM +0100, MOLNAR Ingo wrote:

> take a look at mlock(). It needs CAP_IPC_LOCK capability. (which
> means root right now)

Why does mlock still require CAP_IPC_LOCK when locakable pages can
get set via ulimits?

Someone can fork() lots of processes presumably and do bad things,
but there are other ways of achieving this anyhow... at least until
we have system wide per user resource management.

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/