diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-27 23:20:38 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-28 00:51:12 +0200 |
commit | cb84aa9b42b506299e5aea1ba4da26c03ab12877 (patch) | |
tree | af646c3d148f5c04f7362c8bddc59b8518cafd9e /security/lsm_audit.c | |
parent | CRED: Holding a spinlock does not imply the holding of RCU read lock (diff) | |
download | linux-cb84aa9b42b506299e5aea1ba4da26c03ab12877.tar.xz linux-cb84aa9b42b506299e5aea1ba4da26c03ab12877.zip |
LSM Audit: rename LSM_AUDIT_NO_AUDIT to LSM_AUDIT_DATA_NONE
Most of the LSM common audit work uses LSM_AUDIT_DATA_* for the naming.
This was not so for LSM_AUDIT_NO_AUDIT which means the generic initializer
cannot be used. This patch just renames the flag so the generic
initializer can be used.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/lsm_audit.c')
-rw-r--r-- | security/lsm_audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/lsm_audit.c b/security/lsm_audit.c index acba3dfc8d29..8c3650672e23 100644 --- a/security/lsm_audit.c +++ b/security/lsm_audit.c @@ -220,7 +220,7 @@ static void dump_common_audit_data(struct audit_buffer *ab, } switch (a->type) { - case LSM_AUDIT_NO_AUDIT: + case LSM_AUDIT_DATA_NONE: return; case LSM_AUDIT_DATA_IPC: audit_log_format(ab, " key=%d ", a->u.ipc_id); |