函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_make_reply

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

返回类型:struct sk_buff

参数:

类型参数名称
intseq
inttype
intdone
intmulti
const void *payload
intsize
907  flags等于如果multiMultipart message, terminated by NLMSG_DONE 否则0
908  t等于如果doneEnd of a dump 否则type
910  skb等于分配一个新的Netlink消息
911  如果非skb则返回:NULL
914  nlh等于lmsg_put - Add a new netlink message to an skb*@skb: socket buffer to store message in*@portid: netlink PORTID of requesting application*@seq: sequence number of message*@type: message type*@payload: length of message payload*@flags: message flags*
915  如果非nlh则转到:out_kfree_skb
917  data等于消息有效载荷
918  内存复制(data, payload, size)
919  返回:skb
921  out_kfree_skb :
922  释放缓存
923  返回:NULL
调用者
名称描述
audit_send_replyaudit_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
audit_replace
audit_list_rulesList rules using struct audit_rule_data.