Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932506AbWEOTAc (ORCPT ); Mon, 15 May 2006 15:00:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932505AbWEOTAb (ORCPT ); Mon, 15 May 2006 15:00:31 -0400 Received: from linux01.gwdg.de ([134.76.13.21]:33223 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S932494AbWEOTA0 (ORCPT ); Mon, 15 May 2006 15:00:26 -0400 Date: Mon, 15 May 2006 21:00:22 +0200 (MEST) From: Jan Engelhardt To: sej@sej.fr cc: linux-kernel@vger.kernel.org Subject: Re: Rlimit In-Reply-To: <4468A4D7.10603@gmail.com> Message-ID: References: <6cN1B-3ky-5@gated-at.bofh.it> <6cN1B-3ky-3@gated-at.bofh.it> <4468A4D7.10603@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 20 > > 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 > By running setrlimit from a root process. Even the limits from /etc/secuirty/limits.conf must be set _somehow_. >> man setrlimit Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/