Skip to content

[Request]: expose no-new-privileges in process commands #2161

Description

@sturdy4days

Feature or enhancement request details

Please expose a no-new-privileges process control in container. The lower-layer OCI/runtime support already exists; the CLI and persisted configuration do not currently make it available to container users.

The proposed scope is deliberately backward compatible:

  • persist a noNewPrivileges process setting through CLI and configuration;
  • enforce it monotonically for both container init and container exec, so an init setting cannot be weakened by an exec request;
  • retain a false default and decode older configurations without change; and
  • cover parser, process-configuration, and init/exec acceptance paths.

This would provide a narrow, opt-in control without changing existing default behavior.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions