Allow read-only macOS memory-pressure query in workspace-write

Open Beginner friendly
#62,490 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
71/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
macos, rust
Domain
security

Research direction

Start by finding the macOS sysctl-read allowlist and the tests that cover workspace-write restrictions. Add coverage for the requested read-only key, kern.memorystatus_vm_pressure_level, and confirm other sysctl access remains restricted. Done means the exact query is permitted in workspace-write while write access and broader sysctl permissions remain denied.

Written by the indexing model from the issue text.

Description

CLI enhancement sandbox
What variant of Codex are you using?

Codex CLI 0.163.0, macOS 12.7.6.

What feature would you like to see?

In a workspace-write session, /usr/sbin/sysctl -n kern.memorystatus_vm_pressure_level is denied. An offline test runner uses that read-only query to check memory pressure immediately before launch, so the test never starts.

Request: Allow this exact key in the macOS sysctl-read allowlist while preserving all other workspace-write restrictions. No write access or broader sysctl permissions are requested.

Additional information

No response

Dominant language
Rust
Stars
136k
Forks
21.5k
Avg merge
1m
Merged PRs (30d)
998

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.