diff options
author | Paul Moore <paul@paul-moore.com> | 2017-09-01 16:44:34 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-11-11 00:07:39 +0300 |
commit | 173743dd99a49c956b124a74c8aacb0384739a4c (patch) | |
tree | 1fccaffd2856fb56366dc02b7a943f86c04991cf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 196a5085592c62ffa4eb739d7ce49c040c2953a1 (diff) | |
download | linux-173743dd99a49c956b124a74c8aacb0384739a4c.tar.xz |
audit: ensure that 'audit=1' actually enables audit for PID 1
Prior to this patch we enabled audit in audit_init(), which is too
late for PID 1 as the standard initcalls are run after the PID 1 task
is forked. This means that we never allocate an audit_context (see
audit_alloc()) for PID 1 and therefore miss a lot of audit events
generated by PID 1.
This patch enables audit as early as possible to help ensure that when
PID 1 is forked it can allocate an audit_context if required.
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions