aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorCanfeng Guo <[email protected]>2024-07-03 02:56:05 +0000
committerPaul Moore <[email protected]>2024-07-29 20:34:00 +0000
commitda2d41308c4206b966d77dcb77fb838d94244352 (patch)
treebdb092f395de6c3980949e646aa081fcbdb1aa6d /security/selinux/hooks.c
parentLinux 6.11-rc1 (diff)
downloadkernel-da2d41308c4206b966d77dcb77fb838d94244352.tar.gz
kernel-da2d41308c4206b966d77dcb77fb838d94244352.zip
selinux: Streamline type determination in security_compute_sid
Simplifies the logic for determining the security context type in security_compute_sid, enhancing readability and efficiency. Consolidates default type assignment logic next to type transition checks, removing redundancy and improving code flow. Signed-off-by: Canfeng Guo <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions