Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:List rules using struct audit_rule_data.

Proto:static void audit_list_rules(int seq, struct sk_buff_head *q)

Type:void

Parameter:

TypeParameterName
intseq
struct sk_buff_head *q
1077  When i < AUDIT_NR_FILTERS cycle
1081  data = Translate kernel rule representation to struct audit_rule_data.
1082  If Value for the false possibility is greater at compile time(!data) Then Break
1084  skb = audit_make_reply(seq, List syscall filtering rules , 0, 1, data, size of data + al length of string fields )
1087  If skb Then queue a buffer at the list tail
1089  kfree(data)
1092  skb = audit_make_reply(seq, List syscall filtering rules , 1, 1, NULL, 0)
1093  If skb Then queue a buffer at the list tail
Caller
NameDescribe
audit_list_rules_sendaudit_list_rules_send - list the audit rules*@request_skb: skb of request we are replying to (used to target the reply)*@seq: netlink audit message sequence (serial) number