Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\lib.c Create Date:2022-07-28 19:50:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:aa_audit_perm_mask

Proto: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)

Type:void

Parameter:

TypeParameterName
struct audit_buffer *ab
unsigned intmask
const char *chrs
unsigned intchrsmask
const char *const *names
unsigned intnamesmask
244  audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
245  If mask & chrsmask && chrs Then
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  audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
249  If mask & namesmask Then audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
252  If mask & namesmask && names Then aa_audit_perm_names(ab, names, mask & namesmask)
254  audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat.
Caller
NameDescribe
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