函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:unsigned int audit_serial(void)

返回类型:unsigned int

参数:

1717  serial等于Atomic operations that C can't guarantee us. Useful for* resource counting etc..(0)
1719  返回:atomic_add_return(1, & serial)
调用者
名称描述
audit_get_stamp
auditsc_get_stampauditsc_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.