Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751867Ab1FNOYf (ORCPT ); Tue, 14 Jun 2011 10:24:35 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:42513 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864Ab1FNOYe (ORCPT ); Tue, 14 Jun 2011 10:24:34 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ElbPv+UwU5ydFbWx4AvaiRZHzORNcpzbJF2R++tDLfiuO3F3TxKjvwGGWW3OA78RYG mXWnrrEZxf/W7o7MTMsFCopzz8WSSZzJQT2zvZde/jPuQ/1IuPN5O8IKUXbJ2tO8LUhZ UiA6kqGcSmEUJ/0r9C3nc+xvtPTOYIWuKC3gc= Date: Tue, 14 Jun 2011 18:24:29 +0400 From: Vasiliy Kulikov To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Andrew Morton , Greg Kroah-Hartman , "David S. Miller" , David Rientjes , Al Viro , Nick Piggin , Miklos Szeredi , Alexey Dobriyan , Frederic Weisbecker , WANG Cong Subject: Re: [RFC v2 02/04] procfs: add hidepid modes as mount options Message-ID: <20110614142429.GB3966@albatros> References: <1307889901-6226-1-git-send-email-segoon@openwall.com> <201106141554.50945.arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201106141554.50945.arnd@arndb.de> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 27 On Tue, Jun 14, 2011 at 15:54 +0200, Arnd Bergmann wrote: > On Sunday 12 June 2011, Vasiliy Kulikov wrote: > > +static const match_table_t tokens = { > > + {Opt_hidepid, "hidepid=%u"}, > > + {Opt_gid, "gid=%u"}, > > + {Opt_hidenet, "hidenet"}, > > + {Opt_nohidenet, "nohidenet"}, > > + {Opt_err, NULL}, > > +}; > > I don't really have an opinion on your patch, but it seems that it does more than > the description explains: The hidenet/nohidenet option is in the patch as well, > although it doesn't have much of an effect. Correct, it is just a matter of a patch division granularity. Alexey said the patch should be divided into pid and net parts. I divided it into (pid + all mount opts parsing) and (actual hidenet usage). As both pid and net parts depend on options parsing, they are not fully independent, and cannot be well splitted (or I just don't see how). -- Vasiliy Kulikov -- 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/