函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit callback for net specific fields

函数原型:void audit_net_cb(struct audit_buffer *ab, void *va)

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
void *va
73  sa等于va
75  写入审计信息
76  如果address_family_names[family]则audit_log_string(ab, address_family_names[family])
78  否则写入审计信息
80  写入审计信息
81  如果sock_type_names[type]则audit_log_string(ab, sock_type_names[type])
83  否则写入审计信息
85  写入审计信息
87  如果request按位与NET_PERMS_MASK
88  写入审计信息
89  aa_audit_perm_mask(ab, request, NULL, 0, net_mask_names, NET_PERMS_MASK)
92  如果denied按位与NET_PERMS_MASK
98  如果peer
99  写入审计信息
100  aa_label_xaudit(ab, labels_ns(label), peer, FLAGS_NONE, DOC: Useful GFP flag combinations* Useful GFP flag combinations* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Useful GFP flag combinations that are commonly used. It is recommended* that subsystems start with one of these combinations and then set/clear)