函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_get_stamp

函数原型:static inline void audit_get_stamp(struct audit_context *ctx, struct timespec64 *t, unsigned int *serial)

返回类型:void

参数:

类型参数名称
struct audit_context *ctx
struct timespec64 *t
unsigned int *serial
1725  如果非ctx或非auditsc_get_stamp - get local copies of audit_context values*@ctx: audit_context for the task*@t: timespec64 to store time recorded in the audit_context*@serial: serial value that is recorded in the audit_context* Also sets the context as auditable.
1726  ktime_get_coarse_real_ts64(t)
1727  serial等于audit_serial - compute a serial number for the audit record* Compute a serial number for the audit record. Audit records are* written to user-space as soon as they are generated, so a complete* audit record may be written in several pieces
调用者
名称描述
audit_log_start申请审计缓冲区