close
Skip to content

Fix seccomp profile for clone syscall - #39308

Merged
thaJeztah merged 1 commit into
moby:masterfrom
thaJeztah:fix_clone_seccomp_cgroupns
Jun 4, 2019
Merged

Fix seccomp profile for clone syscall#39308
thaJeztah merged 1 commit into
moby:masterfrom
thaJeztah:fix_clone_seccomp_cgroupns

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

based on containerd/containerd#3314

All clone flags for namespace should be denied.

@thaJeztah

Copy link
Copy Markdown
Member Author

ping @justincormack @KentaTada @estesp ptal

@KentaTada

Copy link
Copy Markdown
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 <Kenta.Tada@sony.com>
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 <Kenta.Tada@sony.com>

@estesp estesp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@thaJeztah

Copy link
Copy Markdown
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 <Kenta.Tada@sony.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah force-pushed the fix_clone_seccomp_cgroupns branch from b719c17 to a1ec855 Compare June 4, 2019 13:28
@thaJeztah

Copy link
Copy Markdown
Member Author

updated 👍

@codecov

codecov Bot commented Jun 4, 2019

Copy link
Copy Markdown

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
Copy Markdown
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 <Kenta.Tada@sony.com>
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 <Kenta.Tada@sony.com>
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 <Kenta.Tada@sony.com>
@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 <Kenta.Tada@sony.com>
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 <Kenta.Tada@sony.com>
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