From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267195AbUHDByV (ORCPT ); Tue, 3 Aug 2004 21:54:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267194AbUHDByV (ORCPT ); Tue, 3 Aug 2004 21:54:21 -0400 Received: from mail-relay-3.tiscali.it ([213.205.33.43]:15341 "EHLO mail-relay-3.tiscali.it") by vger.kernel.org with ESMTP id S267195AbUHDByR (ORCPT ); Tue, 3 Aug 2004 21:54:17 -0400 Date: Wed, 4 Aug 2004 03:53:50 +0200 From: Andrea Arcangeli To: Rik van Riel Cc: Chris Wright , Arjan van de Ven , linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: [patch] mlock-as-nonroot revisted Message-ID: <20040804015350.GS2241@dualathlon.random> References: <20040803221121.GN2241@dualathlon.random> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key: 1024D/68B9CB43 13D9 8355 295F 4823 7C49 C012 DFA1 686E 68B9 CB43 X-PGP-Key: 1024R/CB4660B9 CC A0 71 81 F4 A0 63 AC C0 4B 81 1D 8C 15 C8 E5 User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 03, 2004 at 09:21:34PM -0400, Rik van Riel wrote: > This is exactly why named hugetlb files are NOT included > in this accounting, only the ones created through the SHM > interface are. but you're allowing everybody to alloc all RAM in hugetlb files with the change in the previos patch posted by Arjan (you're currently posted incremental patches against Arjan's patch at the top of the thread I hope), so you must definitely apply "this" accounting to hugetlb files too or it's still insecure as far as I can tell.