Commit 997f5b6444f4608692ec807fb802fd9767c80e76
Committed by
Al Viro
1 parent
b05d8447e7
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
audit: remove AUDIT_SETUP_CONTEXT as it isn't used
Audit contexts have 3 states. Disabled, which doesn't collect anything, build, which collects info but might not emit it, and record, which collects and emits. There is a 4th state, setup, which isn't used. Get rid of it. Signed-off-by: Eric Paris <eparis@redhat.com>
Showing 1 changed file with 1 additions and 5 deletions Side-by-side Diff
kernel/audit.h
... | ... | @@ -36,12 +36,8 @@ |
36 | 36 | AUDIT_DISABLED, /* Do not create per-task audit_context. |
37 | 37 | * No syscall-specific audit records can |
38 | 38 | * be generated. */ |
39 | - AUDIT_SETUP_CONTEXT, /* Create the per-task audit_context, | |
40 | - * but don't necessarily fill it in at | |
41 | - * syscall entry time (i.e., filter | |
42 | - * instead). */ | |
43 | 39 | AUDIT_BUILD_CONTEXT, /* Create the per-task audit_context, |
44 | - * and always fill it in at syscall | |
40 | + * and fill it in at syscall | |
45 | 41 | * entry time. This makes a full |
46 | 42 | * syscall record available if some |
47 | 43 | * other part of the kernel decides it |