Skip to content
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

seccomp: add CloneNewCgroup to check sysCloneFlagsIndex #694

Merged

Conversation

KentaTada
Copy link
Contributor

All clone flags should be denied as default profile.
Also x/sys should be used instead of syscall.

Signed-off-by: Kenta Tada Kenta.Tada@sony.com

@KentaTada
Copy link
Contributor Author

I don't understand why pullapprove was failed but I signed off.
Could you take a look at this commit?

@KentaTada
Copy link
Contributor Author

FYI, @vbatts @crosbymichael
This commit is related to below.
containerd/containerd#3314
moby/moby#39308

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>
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>
@kolyshkin
Copy link
Contributor

@KentaTada can you please rebase this?

All clone flags should be denied as default profile.
Also x/sys should be used instead of syscall.

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
@KentaTada
Copy link
Contributor Author

Rebased. Thanks.

@kolyshkin
Copy link
Contributor

close/reopen to kick ci

@kolyshkin kolyshkin closed this Oct 13, 2022
@kolyshkin kolyshkin reopened this Oct 13, 2022
Copy link
Contributor

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM

@kolyshkin kolyshkin merged commit 5d67a70 into opencontainers:master Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants