-
Notifications
You must be signed in to change notification settings - Fork 905
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 falco-driver-loader SELinux insmod denials #1756
Fix falco-driver-loader SELinux insmod denials #1756
Conversation
Signed-off-by: David Windsor <dwindsor@secureworks.com>
Welcome @dwindsor! It looks like this is your first PR to falcosecurity/falco 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really good catch!
/lgtm
LGTM label has been added. Git tree hash: 1a34b1678c3bcab594dd6ba14825a9c67bdd63a9
|
Do you think there could be issues if the OS doesn't have SELinux installed or enabled? I was also thinking about the availability of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left suggestions which I believe is worth considering
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. We were only considering CentOS 7 and 8, both of which will have chcon. LGTM.
@dwindsor-scwx: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Don't fail if chcon is not present Co-authored-by: Leo Di Donato <leodidonato@gmail.com> Signed-off-by: David Windsor <dwindsor@secureworks.com>
f193ffc
to
4b37ac8
Compare
…dule() Signed-off-by: David Windsor <dwindsor@secureworks.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for submitting this PR :)
LGTM
/approve
/milestone 0.31.0
LGTM label has been added. Git tree hash: d45258ea20172fe7e49136eafb4faed3741c7bc2
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dwindsor, leodido, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @leodido |
Signed-off-by: David Windsor dwindsor@secureworks.com
What type of PR is this?
Any specific area of the project related to this PR?
What this PR does / why we need it:
Currently, SELinux prevents
falco-driver-loader
from callinginsmod
on falco .ko files. This is because the .ko files are mislabeled - they need to be relabeledmodules_object_t
:Which issue(s) this PR fixes:
Fixes #1755
Special notes for your reviewer:
Does this PR introduce a user-facing change?: