selinux: Set the peer label correctly on connected UNIX domain sockets
authorPaul Moore <paul.moore@hp.com>
Thu, 22 Apr 2010 18:46:18 +0000 (14:46 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:34:37 +0000 (15:34 +1000)
commit4d1e24514d80cb266231d0c1b6c02161970ad019
tree2de35d44c52dc1afa28c8f1bf294180817834a9d
parente79acf0ef45e0b54aed47ebea7f25c540d3f527e
selinux: Set the peer label correctly on connected UNIX domain sockets

Correct a problem where we weren't setting the peer label correctly on
the client end of a pair of connected UNIX sockets.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c