Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263472AbUDBA76 (ORCPT ); Thu, 1 Apr 2004 19:59:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263015AbUDBA76 (ORCPT ); Thu, 1 Apr 2004 19:59:58 -0500 Received: from fw.osdl.org ([65.172.181.6]:18657 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S263472AbUDBA7s (ORCPT ); Thu, 1 Apr 2004 19:59:48 -0500 Date: Thu, 1 Apr 2004 16:59:44 -0800 From: Chris Wright To: Andrea Arcangeli Cc: Rik van Riel , Andrew Morton , linux-kernel@vger.kernel.org, kenneth.w.chen@intel.com Subject: Re: disable-cap-mlock Message-ID: <20040401165944.X22989@build.pdx.osdl.net> References: <20040401223619.GB18585@dualathlon.random> <20040401232603.GE18585@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040401232603.GE18585@dualathlon.random>; from andrea@suse.de on Fri, Apr 02, 2004 at 01:26:03AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 26 * Andrea Arcangeli (andrea@suse.de) wrote: > On Thu, Apr 01, 2004 at 06:08:18PM -0500, Rik van Riel wrote: > > Oracle seems to be using it just fine in a certain 2.4 > > based kernel, so why exactly do you think it would be > > useless for the problem you want to solve ? > > > > Also, what would need to be fixed in order for it to > > not be useless ? ;) > > tell me how to call shmget(SHM_HUGETLB) without having the CAP_IPC_LOCK > with the rlimit patch. Account for the equivalent "locked" huge pages on shmget. I did something like this when porting the mlock patch to 2.6 a month or so ago. I also recall finding a couple problems along the way, but it's been a while. I'll dig up what I have and send it in. thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net - 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/