]> git.dujemihanovic.xyz Git - linux.git/commit
lsm: move the key hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Thu, 16 Feb 2023 02:46:31 +0000 (21:46 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commitecc419a4453530c410c7031bc69ef34782b1c8ff
treea2eeae99ed759de9ba234a37b793b88f3c09bce8
parent742b99456e86aa3e9176fb1c7db200101876c614
lsm: move the key hook comments to security/security.c

This patch relocates the LSM hook function comments to the function
definitions, in keeping with the current kernel conventions.  This
should make the hook descriptions more easily discoverable and easier
to maintain.

While formatting changes have been done to better fit the kernel-doc
style, content changes have been kept to a minimum and limited to
text which was obviously incorrect and/or outdated.  It is expected
the future patches will improve the quality of the function header
comments.

Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/lsm_hooks.h
security/security.c