1AUDIT_LOG(9) Audit Interfaces AUDIT_LOG(9)
2
3
4
6 audit_log - Log an audit record
7
9 void audit_log(struct audit_context * ctx, gfp_t gfp_mask, int type,
10 const char * fmt, ...);
11
13 ctx
14 audit context
15
16 gfp_mask
17 type of allocation
18
19 type
20 audit message type
21
22 fmt
23 format string to use @...: variable parameters matching the format
24 string
25
26 ...
27 variable arguments
28
30 This is a convenience function that calls audit_log_start,
31 audit_log_vformat, and audit_log_end. It may be called in any context.
32
34Kernel Hackers Manual 3.10 June 2019 AUDIT_LOG(9)