From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [patch 7/8] allow unprivileged mounts Date: 22 Apr 2007 00:06:51 +0200 Message-ID: References: <20070420102532.385211890@szeredi.hu> <20070420102652.075606533@szeredi.hu> <20070421005513.e230aa88.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Miklos Szeredi , serue@us.ibm.com, viro@ftp.linux.org.uk, linuxram@us.ibm.com, ebiederm@xmission.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, containers@lists.osdl.org To: Andrew Morton Return-path: Received: from ns2.suse.de ([195.135.220.15]:45388 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752801AbXDUVJF (ORCPT ); Sat, 21 Apr 2007 17:09:05 -0400 In-Reply-To: <20070421005513.e230aa88.akpm@linux-foundation.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Andrew Morton writes: > On Fri, 20 Apr 2007 12:25:39 +0200 Miklos Szeredi wrote: > > > Define a new fs flag FS_SAFE, which denotes, that unprivileged > > mounting of this filesystem may not constitute a security problem. > > > > Since most filesystems haven't been designed with unprivileged > > mounting in mind, a thorough audit is needed before setting this flag. > > Practically speaking, is there any realistic likelihood that any filesystem > apart from FUSE will ever use this? If it worked for mount --bind for any fs I could see uses of this. I haven't thought through the security implications though, so it might not work. -Andi