lsm: move the perf hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Thu, 16 Feb 2023 22:22:36 +0000 (17:22 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commit452b670c7222c7bf11b45b13f5a736f96d0be1e3
tree75282652c8dbd056e4c23730d7d4af27c93b1a3d
parent55e853201a9e0383c9f6d5d800155e334685cd7e
lsm: move the perf 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