Fix seccomp contributed profile for clone syscall#3314
Fix seccomp contributed profile for clone syscall#3314estesp merged 1 commit intocontainerd:masterfrom
Conversation
32bfa60 to
add4120
Compare
|
Build succeeded.
|
add4120 to
1442839
Compare
|
Build succeeded.
|
Codecov Report
@@ Coverage Diff @@
## master #3314 +/- ##
======================================
Coverage 44.6% 44.6%
======================================
Files 112 112
Lines 12180 12180
======================================
Hits 5433 5433
Misses 5913 5913
Partials 834 834
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #3314 +/- ##
======================================
Coverage 44.6% 44.6%
======================================
Files 112 112
Lines 12180 12180
======================================
Hits 5433 5433
Misses 5913 5913
Partials 834 834
Continue to review full report at Codecov.
|
|
This looks reasonable; however, given this is contributed content ( Thanks! |
1442839 to
f811b4a
Compare
|
Build succeeded.
|
f811b4a to
30bdb45
Compare
|
Build succeeded.
|
30bdb45 to
c3b49b6
Compare
|
Build succeeded.
|
c3b49b6 to
767d5f4
Compare
|
Build succeeded.
|
All clone flags for namespace should be denied. Also x/sys should be used instead of syscall. Signed-off-by: Kenta Tada <[email protected]>
767d5f4 to
5b9a43d
Compare
|
Build succeeded.
|
|
@estesp Thank you for the review. I changed the title and comment. Could you confirm it? |
|
LGTM |
|
@KentaTada could you check if changes are needed to the default seccomp profile in moby/moby? https://github.com/moby/moby/blob/61da822eeb7905a61eeaf18ea386e1a786cf0601/profiles/seccomp/seccomp_default.go#L517-L538 |
|
@justincormack ptal |
|
@thaJeztah yes the changes should be the same on moby/moby |
|
Thx, yes, found the difference after posting here; let me do a PR for moby/moby |
|
opened moby/moby#39308 |
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
This commit changes the value of seccomp test for clone syscall. Also hardcoded values should be changed because it is unclear to understand what flags are tested. Related issues: * containerd/containerd#3314 * moby/moby#39308 * opencontainers/runtime-tools#694 Signed-off-by: Kenta Tada <[email protected]>
All clone flags for namespace should be denied.
Also x/sys should be used instead of syscall.
Signed-off-by: Kenta Tada [email protected]