]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: provide socketpair callback
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 4 May 2018 14:28:21 +0000 (16:28 +0200)
committerJames Morris <james.morris@microsoft.com>
Fri, 4 May 2018 19:48:54 +0000 (12:48 -0700)
commit0cc8e2ccde299cee8aa11c35a86bc49dd34f4824
tree4f4d96751c0c98a8f81a79526585c73cf4df51e8
parentfd0bd00a2c15c43a59dfc37a73b5963e285ab3eb
selinux: provide socketpair callback

Make sure to implement the new socketpair callback so the SO_PEERSEC
call on socketpair(2)s will return correct information.

Acked-by: Serge Hallyn <serge@hallyn.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
security/selinux/hooks.c