From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ram Subject: Re: [PATCH] private mounts Date: Wed, 27 Apr 2005 10:55:41 -0700 Message-ID: <1114624541.4480.187.camel@localhost> References: <20050426094727.GA30379@infradead.org> <20050426131943.GC2226@openzaurus.ucw.cz> <20050426201411.GA20109@elf.ucw.cz> <20050427092450.GB1819@elf.ucw.cz> <20050427143126.GB1957@mail.shareable.org> <20050427153320.GA19065@atrey.karlin.mff.cuni.cz> <20050427155022.GR4431@marowsky-bree.de> <1114623598.4480.181.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: lmb@suse.de, mj@ucw.cz, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from e5.ny.us.ibm.com ([32.97.182.145]:30122 "EHLO e5.ny.us.ibm.com") by vger.kernel.org with ESMTP id S261852AbVD0Rzs (ORCPT ); Wed, 27 Apr 2005 13:55:48 -0400 To: Miklos Szeredi In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 2005-04-27 at 10:47, Miklos Szeredi wrote: > > I think you need to disallow overmounts on invisible mounts by any user > > other than the owner. If not, some other user (including root) can > > overmount on your mount and the user will end up with DoS. > > I'm not following you here. How would an overmount cause DoS? eg: user 1 does a invisible mount on /mnt/mnt1 root does a visible mount on /mnt/mnt1 user 1 will no longer be able to access his /mnt/mnt1 in fact even if root mounts something on /mnt, the problem still exists. RP > > Thanks, > Miklos