Skip to content

Commit 1912834

Browse files
rgbriggspcmoore
authored andcommitted
selinux: remove AVC init audit log message
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]>
1 parent 174e075 commit 1912834

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

security/selinux/avc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ void __init avc_init(void)
197197
avc_xperms_data_cachep = kmem_cache_create("avc_xperms_data",
198198
sizeof(struct extended_perms_data),
199199
0, SLAB_PANIC, NULL);
200-
201-
audit_log(current->audit_context, GFP_KERNEL, AUDIT_KERNEL, "AVC INITIALIZED\n");
202200
}
203201

204202
int avc_get_hash_stats(char *page)

0 commit comments

Comments
 (0)