Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.07 KB

File metadata and controls

40 lines (28 loc) · 1.07 KB

tccutil-rs

Rust CLI for managing macOS TCC privacy permission databases. Single static binary; no runtime dependencies.

Verify

make verify       # selective cached fmt + clippy + test (pre-push)
make verify-full  # forced CI gate (+ coverage + release build)

make verify runs independent stale lanes in parallel. Timestamp freshness is an edit-loop optimization; use make verify-full after deleting or renaming Rust sources and before claims that require exhaustive proof. CI always runs the full gate.

Build

cargo build --release

Boundaries

  • Prefer safe Rust; keep unsafe limited to the existing geteuid check
  • System DB writes need sudo; SIP may still block on newer macOS
  • Binary name stays tccutil-rs so it does not clash with Apple's tccutil

Hooks

scripts/setup-hooks.sh

Docs