Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-28 11:28:13
Last Modify:2020-03-17 16:31:21 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:int auditsc_get_stamp(struct audit_context *ctx, struct timespec64 *t, unsigned int *serial)

Type:int

Parameter:

TypeParameterName
struct audit_context *ctx
struct timespec64 *t
unsigned int *serial
2172  If Not 1 if task is in a syscall Then Return 0
2174  If Not serial number for record Then serial number for record = 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
2176  seconds = seconds
2177  nanoseconds = nanoseconds
2178  serial = serial number for record
2179  If Not prio Then
2180  prio = 1
2181  current_state = AUDIT_RECORD_CONTEXT
2183  Return 1
Caller
NameDescribe
audit_get_stamp