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

cron: Remove too greedy file context grab #821

Merged

Conversation

hbakken
Copy link

@hbakken hbakken commented Oct 15, 2024

This regexp will match lots of unintended files, for example things created by tempfile patterns (could include "cron"), and also things inside subdirectories.

It feels like a better approach would be to find actual directories used, or at the very least to limit it to files directly under /run.

It's possible just removing it is too harsh, but I feel at least it should be changed.

This regexp will match lots of unintended files, for example things
created by tempfile patterns (could include "cron"), and also things
inside subdirectories.

It feels like a better approach would be to find actual directories
used, or at the very least to limit it to files directly under /run.

Signed-off-by: Henrik Grindal Bakken <henribak@cisco.com>
@hbakken hbakken force-pushed the work/remove-excessive-cron-regexp branch from 5a0a9a0 to e62996c Compare October 15, 2024 10:43
@pebenito pebenito merged commit e627b48 into SELinuxProject:main Oct 15, 2024
117 checks passed
@hbakken hbakken deleted the work/remove-excessive-cron-regexp branch October 15, 2024 14:29
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.

3 participants