VFS: AF_UNIX sockets should call mknod on the top layer only
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Mar 2015 14:05:26 +0000 (14:05 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 15 Apr 2015 19:06:54 +0000 (15:06 -0400)
commitee8ac4d61c2cf43bdd427e70db97ac330e61570d
tree4e69d2aa92716b70c5aa9737b48945e8610a2099
parentaa4d86163e4e91a1ac560954a554bab417e338f4
VFS: AF_UNIX sockets should call mknod on the top layer only

AF_UNIX sockets should call mknod on the top layer only and should not attempt
to modify the lower layer in a layered filesystem such as overlayfs.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/unix/af_unix.c