函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-27 12:25:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:audit_get_sk - Return the audit socket for the given network namespace*@net: the destination network namespace* Description:* Returns the sock pointer if valid, NULL otherwise. The caller must ensure

函数原型:static struct sock *audit_get_sk(const struct net *net)

返回类型:struct sock

参数:

类型参数名称
const struct net *net
289  如果非net则返回:NULL
292  aunet等于net_generic(net, private audit network namespace index )
293  返回:sk
调用者
名称描述
auditd_send_unicast_skbauditd_send_unicast_skb - Send a record via unicast to auditd*@skb: audit record* Description:* Send a skb to the audit daemon, returns positive/zero values on success and* negative values on failure; in all cases the skb will be consumed by this
kauditd_send_multicast_skbkauditd_send_multicast_skb - Send a record to any multicast listeners*@skb: audit record* Description:* Write a multicast message to anyone listening in the initial network* namespace. This function doesn't consume an skb as might be expected since
kauditd_threadkauditd_thread - Worker thread to send audit records to userspace*@dummy: unused
audit_send_list
audit_send_reply_thread