Skip to content

Conversation

@thaJeztah
Copy link
Member

based on containerd/containerd#3314

All clone flags for namespace should be denied.

@thaJeztah
Copy link
Member Author

ping @justincormack @KentaTada @estesp ptal

@KentaTada
Copy link
Contributor

@thaJeztah I think below example.json should also be modified. Thanks!

"value": 2080505856,

KentaTada pushed a commit to KentaTada/runc that referenced this pull request Jun 4, 2019
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]>
KentaTada pushed a commit to KentaTada/runc that referenced this pull request Jun 4, 2019
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]>
Copy link
Contributor

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
Copy link
Member Author

Let me update that fixture used in the test

All clone flags for namespace should be denied.

Based-on-patch-by: Kenta Tada <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah force-pushed the fix_clone_seccomp_cgroupns branch from b719c17 to a1ec855 Compare June 4, 2019 13:28
@thaJeztah
Copy link
Member Author

updated 👍

@codecov
Copy link

codecov bot commented Jun 4, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@c13dab6). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #39308   +/-   ##
=========================================
  Coverage          ?   37.03%           
=========================================
  Files             ?      612           
  Lines             ?    45486           
  Branches          ?        0           
=========================================
  Hits              ?    16848           
  Misses            ?    26353           
  Partials          ?     2285

@thaJeztah
Copy link
Member Author

failures look unrelated

@thaJeztah thaJeztah merged commit a74eb9c into moby:master Jun 4, 2019
@thaJeztah thaJeztah deleted the fix_clone_seccomp_cgroupns branch June 4, 2019 18:11
mauriciovasquezbernal pushed a commit to kinvolk/runc that referenced this pull request Jul 23, 2019
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]>
adrianreber pushed a commit to adrianreber/runc that referenced this pull request Aug 6, 2019
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]>
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Dec 31, 2019
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]>
@thaJeztah thaJeztah added this to the 20.03.0 milestone Apr 2, 2020
dims pushed a commit to dims/libcontainer that referenced this pull request Oct 19, 2024
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]>
dims pushed a commit to dims/libcontainer that referenced this pull request Oct 19, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants