Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261932AbVEKIwJ (ORCPT ); Wed, 11 May 2005 04:52:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261935AbVEKIwD (ORCPT ); Wed, 11 May 2005 04:52:03 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:51626 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261932AbVEKIvz (ORCPT ); Wed, 11 May 2005 04:51:55 -0400 Date: Wed, 11 May 2005 09:51:54 +0100 From: Christoph Hellwig To: Miklos Szeredi Cc: ericvh@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, smfrench@austin.rr.com, hch@infradead.org Subject: Re: [RCF] [PATCH] unprivileged mount/umount Message-ID: <20050511085154.GB24495@infradead.org> Mail-Followup-To: Christoph Hellwig , Miklos Szeredi , ericvh@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, smfrench@austin.rr.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1082 Lines: 24 On Wed, May 04, 2005 at 04:21:23PM +0200, Miklos Szeredi wrote: > Yes, I see your point. However the problem of malicious filesystem > "traps" applies to private namespaces as well (because of suid > programs). > > So if a user creates a private namespace, it should have the choice of: > > 1) Giving up all suid rights (i.e. all mounts are cloned and > propagated with nosuid) > > 2) Not giving up suid for cloned and propagated mounts, but having > extra limitations (suid/sgid programs cannot access unprivileged > "synthetic" mounts) Although I hate special cases I think that we might need 2) to avoid too much trouble tripping over the global namespace. OTOH that should also accelarate adoption of giving each user a separate namespace on login in the various distribution, which is a good thing ;-) - 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/