Re: RFC: named anonymous vmas

From: Sam Ben
Date: Sat Jul 13 2013 - 20:57:48 EST


Hi Christoph,
On 06/24/2013 07:48 PM, Christoph Hellwig wrote:
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.

Could you point out where done this?


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/