diff --git a/src/uucore/src/lib/features/selinux.rs b/src/uucore/src/lib/features/selinux.rs index 9bd2c5e6e53..04d6e4464f4 100644 --- a/src/uucore/src/lib/features/selinux.rs +++ b/src/uucore/src/lib/features/selinux.rs @@ -53,6 +53,7 @@ impl From for i32 { /// Checks if SELinux is enabled on the system. /// /// This function verifies whether the kernel has SELinux support enabled. +/// Note: libselinux internally caches this value, so no additional caching is needed. pub fn is_selinux_enabled() -> bool { selinux::kernel_support() != selinux::KernelSupport::Unsupported }