Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_send_reply - send an audit reply message via netlink*@request_skb: skb of request we are replying to (used to target the reply)*@seq: sequence number*@type: audit message type*@done: done (last) flag*@multi: multi-part message flag*@payload: payload

Proto:static void audit_send_reply(struct sk_buff *request_skb, int seq, int type, int done, int multi, const void *payload, int size)

Type:void

Parameter:

TypeParameterName
struct sk_buff *request_skb
intseq
inttype
intdone
intmulti
const void *payload
intsize
958  net = sock_net(sk)
961  reply = Allocation memory
964  If Not reply Then Return
967  skb = audit_make_reply(seq, type, done, multi, payload, size)
968  If Not skb Then Go to out
971  net = get_net(net)
972  portid = portid
973  skb = skb
975  tsk = kthread_run - create and wake a thread.*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@namefmt: printf-style name for the thread.* Description: Convenient wrapper for kthread_create() followed by(audit_send_reply_thread, reply, "audit_send_reply")
976  If Not IS_ERR(tsk) Then Return
978  free an sk_buff
979  out :
980  kfree(reply)
Caller
NameDescribe
audit_get_feature
audit_receive_msg