Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261869AbVEWIYs (ORCPT ); Mon, 23 May 2005 04:24:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261855AbVEWIYs (ORCPT ); Mon, 23 May 2005 04:24:48 -0400 Received: from rev.193.226.233.9.euroweb.hu ([193.226.233.9]:8206 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261863AbVEWIYo (ORCPT ); Mon, 23 May 2005 04:24:44 -0400 To: linuxram@us.ibm.com CC: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@osdl.org, viro@parcelfarce.linux.theplanet.co.uk, jamie@shareable.org In-reply-to: <1116833048.4397.137.camel@localhost> (message from Ram on Mon, 23 May 2005 00:24:08 -0700) Subject: Re: [RFC][PATCH] rbind across namespaces References: <1116627099.4397.43.camel@localhost> <1116660380.4397.66.camel@localhost> <1116665101.4397.71.camel@localhost> <1116670073.4397.77.camel@localhost> <1116793554.4397.102.camel@localhost> <1116795059.4397.111.camel@localhost> <1116833048.4397.137.camel@localhost> Message-Id: From: Miklos Szeredi Date: Mon, 23 May 2005 10:24:15 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 852 Lines: 24 > yes done. enclosed the patch. > > But seems like this patch opens up questions like: > > Should mounts/umounts/remounts/pivot_root in foreign namespaces > be allowed? I think yes. Moving a subtree to a different namespace is a bit tricky so maybe move should still be restricted to be within a single namespace. And I think we should relax the checks under /proc, to allow proper access to foreign namespaces as far as it doesn't impact security. E.g. it makes sense to allow a process to access /proc/self/fd/XXX even if XXX resides in a different namespace. Currently that is not allowed. Miklos - 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/