[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120810192628.79a34d28@pyramind.ukuu.org.uk>
Date: Fri, 10 Aug 2012 19:26:28 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Stanislav Kinsbursky <skinsbursky@...allels.com>,
Trond.Myklebust@...app.com, davem@...emloft.net,
linux-nfs@...r.kernel.org, eric.dumazet@...il.com,
xemul@...allels.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bfields@...ldses.org,
viro@...iv.linux.org.uk, tim.c.chen@...ux.intel.com,
devel@...nvz.org
Subject: Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified
root
> On that whole subject...
>
> Do we need a Unix domain socket equivalent to openat()?
I don't think so. The name is just a file system indexing trick, it's not
really the socket proper. It's little more than "ascii string with
permissions attached" - indeed we also support an abstract name space
which for a lot of uses is actually more convenient.
AF_UNIX between roots raises some interesting semantic questions when you
begin passing file descriptors down them as well.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists