Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:23:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:unsigned int audit_serial(void)

Type:unsigned int

Parameter:Nothing

1717  serial = Atomic operations that C can't guarantee us. Useful for* resource counting etc..(0)
1719  Return atomic_add_return(1, & serial)
Caller
NameDescribe
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.