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

Filter namespace creation args to clone in default seccomp policy #8054

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 23, 2024

  1. Filter namespace creation args to clone in default seccomp policy

    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 <dgl@dgl.cx>
    dgl committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    1d6c0be View commit details
    Browse the repository at this point in the history