-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: reduce calls to context_struct_to_string()
context_struct_to_string() contains expensive kmalloc() calls. In most cases, there's no purpose in calling context_struct_to_string() on !CONFIG_AUDIT as logs won't be saved anyways. Signed-off-by: Park Ju Hyung <[email protected]> Signed-off-by: Samuel Pascua <[email protected]>
- Loading branch information
1 parent
2f078b7
commit 1e9240f
Showing
1 changed file
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters