OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4eedf1c
)
selinux: reduce calls to context_struct_to_string()
author
Park Ju Hyung
<qkrwngud825@gmail.com>
Tue, 9 Jul 2019 10:36:18 +0000
(19:36 +0900)
committer
0ranko0P
<ranko0p@outlook.com>
Wed, 4 Dec 2019 17:16:45 +0000
(
01:16
+0800)
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 <qkrwngud825@gmail.com>
No differences found