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 handling of sysctl fs.protected_fifos and fs.protected_regular #172

Merged
merged 1 commit into from Jul 11, 2022

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Jul 11, 2022

our solution with cmp for fs.protected_fifos did not work. Checking for
all possible values combined with an or seems more reasonable here.

Also both sysctl parameters are not available in RHEL7. The chosen
solution seems to be the least complex, that also works on all systems.

Signed-off-by: Martin Schurz Martin.Schurz@t-systems.com

our solution with cmp for fs.protected_fifos did not work. Checking for
all possible values combined with an `or` seems more reasonable here.

Also both sysctl parameters are not available in RHEL7. The chosen
solution seems to be the least complex, that also works on all systems.

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
@schurzi
Copy link
Contributor Author

schurzi commented Jul 11, 2022

fixes #170

Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @schurzi

@schurzi schurzi merged commit 81ce2ab into master Jul 11, 2022
@schurzi schurzi deleted the protected_fifos branch July 11, 2022 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants