diff options
| author | 2024-07-03 10:56:05 +0800 | |
|---|---|---|
| committer | 2024-07-29 16:34:00 -0400 | |
| commit | da2d41308c4206b966d77dcb77fb838d94244352 (patch) | |
| tree | bdb092f395de6c3980949e646aa081fcbdb1aa6d /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | Linux 6.11-rc1 (diff) | |
| download | linux-rng-da2d41308c4206b966d77dcb77fb838d94244352.tar.xz linux-rng-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 <guocanfeng@uniontech.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
