lsm: move the Infiniband hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Wed, 15 Feb 2023 23:07:41 +0000 (18:07 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commitac318aed54987e6bd52dba90dd2ea3dca725b5c0
treea638dfb9da630f19864f4382df3b7fc29fe13fe1
parent4a49f592e931962ab3feb9fbb43bea719517670d
lsm: move the Infiniband 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