Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750Ab3FXLsf (ORCPT ); Mon, 24 Jun 2013 07:48:35 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:43284 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752389Ab3FXLse (ORCPT ); Mon, 24 Jun 2013 07:48:34 -0400 Date: Mon, 24 Jun 2013 04:48:32 -0700 From: Christoph Hellwig To: Alex Elsayed Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: RFC: named anonymous vmas Message-ID: <20130624114832.GA9961@infradead.org> References: <20130622103158.GA16304@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 16 On Sat, Jun 22, 2013 at 12:47:29PM -0700, Alex Elsayed wrote: > Couldn't this be done by having a root-only tmpfs, and having a userspace > component that creates per-app directories with restrictive permissions on > startup/app install? Then each app creates files in its own directory, and > can pass the fds around. Honestly having a device that allows passing fds around that can be mmaped sounds a lot simpler. I have to admit that I expect /dev/zero to do this, but looking at the code it creates new file structures at ->mmap time which would defeat this. -- 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/