diff options
author | Paul Moore <paul@paul-moore.com> | 2022-11-08 19:01:19 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-11-09 17:00:49 +0100 |
commit | 048be156491ff1aeb0fe5ff0862644d38cd39015 (patch) | |
tree | 8201a4ebe4bcc2dbdf95eef34761db08e25f3132 /security/integrity/ima/ima_appraise.c | |
parent | selinux: increase the deprecation sleep for checkreqprot and runtime disable (diff) | |
download | linux-048be156491ff1aeb0fe5ff0862644d38cd39015.tar.xz linux-048be156491ff1aeb0fe5ff0862644d38cd39015.zip |
selinux: remove the sidtab context conversion indirect calls
The sidtab conversion code has support for multiple context
conversion routines through the use of function pointers and
indirect calls. However, the reality is that all current users rely
on the same conversion routine: convert_context(). This patch does
away with this extra complexity and replaces the indirect calls
with direct function calls; allowing us to remove a layer of
obfuscation and create cleaner, more maintainable code.
Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/integrity/ima/ima_appraise.c')
0 files changed, 0 insertions, 0 deletions