summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorCanfeng Guo <guocanfeng@uniontech.com>2024-07-03 05:56:05 +0300
committerPaul Moore <paul@paul-moore.com>2024-07-29 23:34:00 +0300
commitda2d41308c4206b966d77dcb77fb838d94244352 (patch)
treebdb092f395de6c3980949e646aa081fcbdb1aa6d /rust/helpers/helpers.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
downloadlinux-da2d41308c4206b966d77dcb77fb838d94244352.tar.xz
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 <guocanfeng@uniontech.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions