macOS backend

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, rust

Research direction

Start by reading the existing platform guard and shared behaviour tests to understand how the Windows backend fulfills the process tree contract. Then investigate the stated macOS escape cases and the proposed dedicated-user design, including its administrator install requirements. Done means the macOS backend passes the shared tests and 20 repeated escape-test runs with no survivors, and the platform page documents its tier and evidence.

Written by the indexing model from the issue text.

Description

platform roadmap

macOS has no backend at 0.5.0, and the guard refuses to build for it rather than make a promise it cannot keep.

Measured on macOS 27: tracking a tree without privilege loses processes. A double fork that leaves the session can escape between fork notices, because a fork notice does not name the child.

The one design found that keeps the promise runs each command as a dedicated user and ends it with kill(-1) as that user. It needs an administrator install that creates a pool of such users. Process coalitions and Endpoint Security also need privilege.

Done when: a macOS backend passes the shared behaviour tests, including the escape tests repeated 20 times, with no survivors, and the platform page states its tier with that evidence.

Dominant language
Rust
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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 WikdSolvemProbler/process-tree-guard

All issues in WikdSolvemProbler/process-tree-guard

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.