-
Couldn't load subscription status.
- Fork 1.1k
[release-1.29] Block clone with namespace flag in seccomp default profile #8569
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
[release-1.29] Block clone with namespace flag in seccomp default profile #8569
Conversation
|
/approve |
8a21e21 to
9e64b1e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-1.29 #8569 +/- ##
================================================
+ Coverage 48.20% 48.34% +0.13%
================================================
Files 145 145
Lines 16452 16577 +125
================================================
+ Hits 7931 8014 +83
- Misses 7546 7585 +39
- Partials 975 978 +3 |
|
@cri-o/cri-o-maintainers, please have a look. Thank you! |
|
needs rebase |
Currently unshare is filtered by the seccomp policy mutator, but clone isn't. This filters args to clone that can create a namespace, blocking both ways of creating a namespace. This also unfortunately means clone3 has to be entirely disabled, because it's not possible to filter the struct with cBPF. Signed-off-by: David Leadbeater <[email protected]>
Co-authored-by: PannagaRamamanohara <[email protected]> Co-authored-by: Ayato Tokubi <[email protected]> Signed-off-by: Ayato Tokubi <[email protected]>
12d7b60 to
2eee205
Compare
|
Rebase done. |
Signed-off-by: Ayato Tokubi <[email protected]>
2eee205 to
9dfbe32
Compare
|
/approve |
|
@cri-o/cri-o-maintainers, please have a look again. Thank you! |
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.
/retest
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, kwilczynski, saschagrunert 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 |
ea41abd
into
cri-o:release-1.29
This is a manual cherry-pick of #8514
/assign kwilczynski