Skip to content

Commit

Permalink
selinux: remove AVC init audit log message
Browse files Browse the repository at this point in the history
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: linux-audit/audit-kernel#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]>
  • Loading branch information
rgbriggs authored and pcmoore committed Sep 5, 2017
1 parent 174e075 commit 1912834
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions security/selinux/avc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1912834

Please sign in to comment.