Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
audit: remove AUDIT_SETUP_CONTEXT as it isn't used
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
eparis authored and Al Viro committed Jan 17, 2012
1 parent b05d844 commit 997f5b6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions kernel/audit.h
Expand Up @@ -36,12 +36,8 @@ enum audit_state {
AUDIT_DISABLED, /* Do not create per-task audit_context.
* No syscall-specific audit records can
* be generated. */
AUDIT_SETUP_CONTEXT, /* Create the per-task audit_context,
* but don't necessarily fill it in at
* syscall entry time (i.e., filter
* instead). */
AUDIT_BUILD_CONTEXT, /* Create the per-task audit_context,
* and always fill it in at syscall
* and fill it in at syscall
* entry time. This makes a full
* syscall record available if some
* other part of the kernel decides it
Expand Down

0 comments on commit 997f5b6

Please sign in to comment.