Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 99.1.3_acc_sudoers_no_all: fix a race condition #186

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

speed47
Copy link
Collaborator

@speed47 speed47 commented Jul 3, 2023

On systems where /etc/sudoers.d might be updated often by some automated means, this check might raise a critical when a previously present file (during the ls) is no longer present (during its attempted read), so before raising a critical, re-check that it does exists first.

On systems where /etc/sudoers.d might be updated often by some automated means, this
check might raise a critical when a previously present file (during the ls) is no longer
present (during its attempted read), so before raising a critical, re-check that it
does exists first.
@ThibaultDewailly ThibaultDewailly merged commit 873ef88 into master Jul 3, 2023
@speed47 speed47 deleted the dev/slesimpl/TOCTTOU branch July 4, 2023 08:26
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