Commit 90593ca
committed
selinux: reduce the object class calculations at inode init time
We only need to call inode_mode_to_security_class() once in
selinux_inode_init_security().
Reviewed-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>1 parent 6613476 commit 90593ca
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2920 | 2920 | | |
2921 | 2921 | | |
2922 | 2922 | | |
| 2923 | + | |
2923 | 2924 | | |
2924 | 2925 | | |
2925 | 2926 | | |
2926 | 2927 | | |
2927 | 2928 | | |
2928 | 2929 | | |
2929 | | - | |
2930 | | - | |
2931 | | - | |
2932 | | - | |
| 2930 | + | |
| 2931 | + | |
2933 | 2932 | | |
2934 | 2933 | | |
2935 | 2934 | | |
2936 | 2935 | | |
2937 | 2936 | | |
2938 | 2937 | | |
2939 | | - | |
| 2938 | + | |
2940 | 2939 | | |
2941 | 2940 | | |
2942 | 2941 | | |
| |||
0 commit comments