函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_audit_perm_mask

函数原型:void aa_audit_perm_mask(struct audit_buffer *ab, unsigned int mask, const char *chrs, unsigned int chrsmask, const char *const *names, unsigned int namesmask)

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
unsigned intmask
const char *chrs
unsigned intchrsmask
const char *const *names
unsigned intnamesmask
244  写入审计信息
245  如果mask按位与chrsmaskchrs
246  aa_perm_mask_to_str - convert a perm mask to its short string*@str: character buffer to store string in (at least 10 characters)*@str_size: size of the @str buffer*@chrs: NUL-terminated character buffer of permission characters*@mask: permission mask to
247  mask与等于chrsmask的反
248  写入审计信息
249  如果mask按位与namesmask写入审计信息
252  如果mask按位与namesmasknamesaa_audit_perm_names(ab, names, mask & namesmask)
254  写入审计信息
调用者
名称描述
aa_audit_perms_cbaa_audit_perms_cb - generic callback fn for auditing perms*@ab: audit buffer (NOT NULL)*@va: audit struct to audit values of (NOT NULL)
audit_net_cbaudit callback for net specific fields