函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static void audit_send_reply(struct sk_buff *request_skb, int seq, int type, int done, int multi, const void *payload, int size)

返回类型:void

参数:

类型参数名称
struct sk_buff *request_skb
intseq
inttype
intdone
intmulti
const void *payload
intsize
958  net等于sock_net(sk)
961  reply等于开辟内存
964  如果非reply则返回
967  skb等于audit_make_reply(seq, type, done, multi, payload, size)
968  如果非skb则转到: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  如果非是错误则返回
978  释放缓存
979  out :
980  kfree(reply)
调用者
名称描述
audit_get_feature
audit_receive_msg