函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_audit_perms_cb - generic callback fn for auditing perms*@ab: audit buffer (NOT NULL)*@va: audit struct to audit values of (NOT NULL)

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

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
void *va
264  sa等于va
266  如果request
267  写入审计信息
268  aa_audit_perm_mask(ab, request, aa_file_perm_chrs, PERMS_CHRS_MASK, aa_file_perm_names, PERMS_NAMES_MASK)
272  如果denied
273  写入审计信息
274  aa_audit_perm_mask(ab, denied, aa_file_perm_chrs, PERMS_CHRS_MASK, aa_file_perm_names, PERMS_NAMES_MASK)
278  写入审计信息
279  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)