Re: Rlimit

From: Lee Revell
Date: Mon May 15 2006 - 12:23:35 EST


On Mon, 2006-05-15 at 17:57 +0200, sej.kernel wrote:
> Of course !!
> But if you want to increase mlock size you can't do it !
> setrlimit can only decrease process limits !
> I repeat my question : How to set mlock process for non-root process ?
> sej

Add to /etc/security/limits.conf:

* memlock hard unlimited

or whatever

Lee

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