函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mmon_lsm_audit - generic LSM auditing function*@a: auxiliary audit data*@pre_audit: lsm-specific pre-audit callback*@post_audit: lsm-specific post-audit callback* setup the audit buffer for common security information* uses callback to print LSM specific

函数原型:void common_lsm_audit(struct common_audit_data *a, void (*pre_audit)(struct audit_buffer *, void *), void (*post_audit)(struct audit_buffer *, void *))

返回类型:void

参数:

类型参数名称
struct common_audit_data *a
void (*pre_audit
void (*post_audit
446  如果(a == NULL)则返回
449  ab等于申请审计缓冲区
452  如果(ab == NULL)则返回
455  如果pre_auditpre_audit(ab, a)
458  dump_common_audit_data - helper to dump common audit data*@a : common audit data
460  如果post_auditpost_audit(ab, a)
463  发送审计信息,并释放缓冲区
调用者
名称描述
smack_logsmack_log - Audit the granting or denial of permissions
aa_audit_msgaa_audit_msg - Log a message to the audit subsystem*@sa: audit event structure (NOT NULL)*@cb: optional callback fn for type specific fields (MAYBE NULL)