diff options
author | Paul Moore <paul@paul-moore.com> | 2023-02-12 15:06:59 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-03-06 13:41:07 -0500 |
commit | 2bcf51bf2f03cc9fccd3316d361cdf9695fccd11 (patch) | |
tree | 7f5d6fe01571010d9f5ffbe88b7774badf4cf3b2 /include/linux/lsm_hooks.h | |
parent | 130c53bfee4bc70919d356bd8b30137ba4d665b1 (diff) | |
download | linux-stable-2bcf51bf2f03cc9fccd3316d361cdf9695fccd11.tar.gz linux-stable-2bcf51bf2f03cc9fccd3316d361cdf9695fccd11.tar.bz2 linux-stable-2bcf51bf2f03cc9fccd3316d361cdf9695fccd11.zip |
lsm: move the netlink 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>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 5578a13729bd..ba2daec1bc35 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -32,19 +32,6 @@ /** * union security_list_options - Linux Security Module hook function list * - * Security hooks for Netlink messaging. - * - * @netlink_send: - * Save security information for a netlink message so that permission - * checking can be performed when the message is processed. The security - * information can be saved using the eff_cap field of the - * netlink_skb_parms structure. Also may be used to provide fine - * grained control over message transmission. - * @sk associated sock of task sending the message. - * @skb contains the sk_buff structure for the netlink message. - * Return 0 if the information was successfully saved and message - * is allowed to be transmitted. - * * Security hooks for Unix domain networking. * * @unix_stream_connect: |