Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:22:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static struct sock *audit_get_sk(const struct net *net)

Type:struct sock

Parameter:

TypeParameterName
const struct net *net
289  If Not net Then Return NULL
292  aunet = net_generic(net, private audit network namespace index )
293  Return sk
Caller
NameDescribe
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