Allow passing O_PATH descriptors via SCM_RIGHTS datagrams
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 13 Mar 2011 21:08:22 +0000 (17:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 06:21:45 +0000 (02:21 -0400)
commit326be7b484843988afe57566b627fb7a70beac56
tree04a15bfdb681ad09444cf2f3d72ae0d38fb0432b
parent65cfc6722361570bfe255698d9cd4dccaf47570d
Allow passing O_PATH descriptors via SCM_RIGHTS datagrams

Just need to make sure that AF_UNIX garbage collector won't
confuse O_PATHed socket on filesystem for real AF_UNIX opened
socket.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
net/core/scm.c
net/unix/garbage.c