]> Git Repo - linux.git/commitdiff
selinux: remove AVC init audit log message
authorRichard Guy Briggs <[email protected]>
Fri, 28 Jul 2017 07:23:31 +0000 (03:23 -0400)
committerPaul Moore <[email protected]>
Tue, 5 Sep 2017 13:46:57 +0000 (09:46 -0400)
In the process of normalizing audit log messages, it was noticed that the AVC
initialization code registered an audit log KERNEL record that didn't fit the
standard format.  In the process of attempting to normalize it it was
determined that this record was not even necessary.  Remove it.

Ref: http://marc.info/?l=selinux&m=149614868525826&w=2
See: https://github.com/linux-audit/audit-kernel/issues/48
Signed-off-by: Richard Guy Briggs <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Acked-by: Steve Grubb <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
security/selinux/avc.c

index e60c79de13e1c74ea6129cfb5431d5d2415cdc2d..4b4293194aeea814b499a4fd89a0d8c45d975be6 100644 (file)
@@ -197,8 +197,6 @@ void __init avc_init(void)
        avc_xperms_data_cachep = kmem_cache_create("avc_xperms_data",
                                        sizeof(struct extended_perms_data),
                                        0, SLAB_PANIC, NULL);
-
-       audit_log(current->audit_context, GFP_KERNEL, AUDIT_KERNEL, "AVC INITIALIZED\n");
 }
 
 int avc_get_hash_stats(char *page)
This page took 0.055428 seconds and 4 git commands to generate.