OSDN Git Service

lsm: move the AF_UNIX hook comments to security/security.c
authorPaul Moore <paul@paul-moore.com>
Sun, 12 Feb 2023 20:10:23 +0000 (15:10 -0500)
committerPaul Moore <paul@paul-moore.com>
Mon, 6 Mar 2023 18:41:07 +0000 (13:41 -0500)
commit2c2442fd46cd162c0b6a07b4560095f03bd3275f
tree25761762b6208bb6a63af9c1ce276af1cde6bab2
parent2bcf51bf2f03cc9fccd3316d361cdf9695fccd11
lsm: move the AF_UNIX 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