OSDN Git Service

LSM: fix documentation for the socket_getpeersec_dgram hook
authorDenis Efremov <efremov@ispras.ru>
Tue, 26 Feb 2019 20:49:06 +0000 (23:49 +0300)
committerJames Morris <james.morris@microsoft.com>
Tue, 26 Mar 2019 23:43:23 +0000 (16:43 -0700)
commit2f991d7ae86a81eba7e564a0f054d9e5dbfbfe34
tree7815fc26b5345b6bfd5b766ad501d19a95673560
parenta890e6378201626d1723f4f2b92a017e141c1144
LSM: fix documentation for the socket_getpeersec_dgram hook

The socket_getpeersec_dgram hook was changed in the commit
"[AF_UNIX]: Kernel memory leak fix for af_unix datagram
getpeersec patch" (dc49c1f94e34). The arguments @secdata
and @seclen were changed to @sock and @secid. This patch
updates the documentation accordingly.

Signed-off-by: Denis Efremov <efremov@ispras.ru>
Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
include/linux/lsm_hooks.h