函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_receive - receive messages from a netlink control socket*@skb: the message buffer* Parse the provided skb and deal with any messages that may be present,* malformed skbs are discarded.

函数原型:static void audit_receive(struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
struct sk_buff *skb
1509  nlh等于nlmsg_hdr(skb)
1510  len等于len
1512  audit_ctl_lock - Take the audit control lock
1513 检查是否符合剩余字节Netlink消息循环
1514  err等于audit_receive_msg(skb, nlh)
1516  如果err Additional flags 按位与Reply with ack, with zero or error code netlink_ack(skb, nlh, err, NULL)
1519  nlh等于lmsg_next - next netlink message in message stream*@nlh: netlink message header*@remaining: number of bytes remaining in message stream* Returns the next netlink message in the message stream and* decrements remaining by the size of the current message.
1521  audit_ctl_unlock - Drop the audit control lock