lsm: move the file hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Fri, 10 Feb 2023 18:23:09 +0000 (13:23 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commita0fd6480de489780cdf0940a38bb75b949976d6c
tree3f0c7aabd1d92e5fc0b8bb35b70b6a95e6aad78c
parent9348944b775d9a12ee7ab698df5bad85409bdd48
lsm: move the file 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