[PATCH] selinux: Audit compute_sid errors
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch changes an error message printk'd by security_compute_sid to use the audit framework instead. These errors reflect situations where a security transition would normally occur due to policy, but the resulting security context is not valid. The patch also changes the code to always call the audit framework rather than only doing so when permissive as this was causing problems with testing policy, and does some code cleanup.
Showing
Please register or sign in to comment