Home
last modified time | relevance | path

Searched hist:"048 be156491ff1aeb0fe5ff0862644d38cd39015" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/security/selinux/ss/
H A Dservices.hdiff 048be156491ff1aeb0fe5ff0862644d38cd39015 Tue Nov 08 12:01:19 CST 2022 Paul Moore <paul@paul-moore.com> 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>
H A Dsidtab.hdiff 048be156491ff1aeb0fe5ff0862644d38cd39015 Tue Nov 08 12:01:19 CST 2022 Paul Moore <paul@paul-moore.com> 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>
H A Dsidtab.cdiff 048be156491ff1aeb0fe5ff0862644d38cd39015 Tue Nov 08 12:01:19 CST 2022 Paul Moore <paul@paul-moore.com> 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>
H A Dservices.cdiff 048be156491ff1aeb0fe5ff0862644d38cd39015 Tue Nov 08 12:01:19 CST 2022 Paul Moore <paul@paul-moore.com> 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>