文章目录
参考
https://www.man7.org/linux/man-pages/man7/audit.rules.7.html
https://access.redhat.com/solutions/473223
编译配置
CONFIG_AUDIT
参数
audit
__setup(“audit=”, audit_enable);
audit= [KNL] Enable the audit sub-system, Format: { “0” | “1” | “off” | “on” }
0 | off - kernel audit is disabled and can not be enabled until the next reboot
unset - kernel audit is initialized but disabled and will be fully enabled by the userspace auditd.
1 | on - kernel audit is initialized and partially enabled, storing at most audit_backlog_limit messages in RAM until it is fully enabled by the userspace auditd.
Default: unset