]> git.baikalelectronics.ru Git - kernel.git/commit
smack: provide socketpair callback
authorTom Gundersen <teg@jklm.no>
Fri, 4 May 2018 14:28:22 +0000 (16:28 +0200)
committerJames Morris <james.morris@microsoft.com>
Fri, 4 May 2018 19:48:54 +0000 (12:48 -0700)
commit14125ddd438f700899512d286b9e15fb3a9a1883
tree0e54055d2dedb3c8f958de14be63fc3f7b47a263
parent0cc8e2ccde299cee8aa11c35a86bc49dd34f4824
smack: provide socketpair callback

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

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/smack/smack_lsm.c