Skip to content

uucore: document that libselinux caches is_selinux_enabled#9873

Merged
sylvestre merged 1 commit intouutils:mainfrom
ChrisDryden:cache-selinux-enabled
Dec 26, 2025
Merged

uucore: document that libselinux caches is_selinux_enabled#9873
sylvestre merged 1 commit intouutils:mainfrom
ChrisDryden:cache-selinux-enabled

Conversation

@ChrisDryden
Copy link
Collaborator

@ChrisDryden ChrisDryden commented Dec 26, 2025

This was just a comment I wanted to add after I added caching to the Smack enabled check based off of a conversation in another PR: #9868 (comment) I didn't realize that this check was using a library that internally caches this result so there's no need to cache this value.

Adding the comment so whoever gets the same idea doesn't go down the same rabbit hole

@ChrisDryden ChrisDryden marked this pull request as ready for review December 26, 2025 22:45
@sylvestre sylvestre merged commit 6f37a24 into uutils:main Dec 26, 2025
118 of 121 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants