Skip to content

Add no-new-privileges process controls - #2162

Open
sturdy4days wants to merge 1 commit into
apple:mainfrom
sturdy4days:codex/no-new-privileges-cli-20260826
Open

Add no-new-privileges process controls#2162
sturdy4days wants to merge 1 commit into
apple:mainfrom
sturdy4days:codex/no-new-privileges-cli-20260826

Conversation

@sturdy4days

Copy link
Copy Markdown

Closes #2161

Summary

  • expose --no-new-privileges through process commands and persisted configuration;
  • apply the effective setting monotonically across container init and container exec; and
  • add parser, persistence, runtime, and CLI acceptance coverage.

Compatibility

noNewPrivileges defaults to false; older persisted configurations decode unchanged. Existing behavior is therefore unchanged unless the opt-in control is requested.

Validation

  • make swift-fmt-check
  • make build-tests
  • focused ParserTest|ProcessConfigurationTests (142 tests)
  • isolated TestCLIRunSecurityPaths (7 tests), including init/exec application and API monotonicity

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.

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

1 participant