lsm: move the filesystem hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Tue, 7 Feb 2023 22:44:01 +0000 (17:44 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commit08526a902cc4bc57bb160e5b1114e67a56fc9280
tree3221a16a7919dfd82096af7daf19b163004a9f2f
parent36819f185590c1e0e47d095f04bf5da20650fe4d
lsm: move the filesystem 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