1AUDIT_LOG_SECCTX(9) Audit Interfaces AUDIT_LOG_SECCTX(9)
2
3
4
6 audit_log_secctx - Converts and logs SELinux context
7
9 void audit_log_secctx(struct audit_buffer * ab, u32 secid);
10
12 ab
13 audit_buffer
14
15 secid
16 security number
17
19 This is a helper function that calls security_secid_to_secctx to
20 convert secid to secctx and then adds the (converted) SELinux context
21 to the audit log by calling audit_log_format, thus also preventing leak
22 of internal secid to userspace. If secid cannot be converted
23 audit_panic is called.
24
26Kernel Hackers Manual 3.10 June 2019 AUDIT_LOG_SECCTX(9)