函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_log - Log an audit record*@ctx: audit context*@gfp_mask: type of allocation*@type: audit message type*@fmt: format string to use*@...: variable parameters matching the format string* This is a convenience function that calls audit_log_start,

函数原型:void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, const char *fmt, ...)

返回类型:void

参数:

类型参数名称
struct audit_context *ctx
gfp_tgfp_mask
inttype
const char *fmt
2346  ab等于申请审计缓冲区
2347  如果ab
2348  va_start(args, fmt)
2349  Format an audit message into the audit buffer. If there isn't enough* room in the audit buffer, more room will be allocated and vsnprint* will be called a second time. Currently, we assume that a printk
2350  va_end(args)
2351  发送审计信息,并释放缓冲区
调用者
名称描述
audit_initInitialize audit support at boot time.
__audit_fanotify
__audit_tk_injoffset
audit_log_ntp_val
sel_write_load