Skip to content

Use macOS boot session API for liveness - #397

Merged
yvette-carlisle merged 3 commits into
mainfrom
xy/macos-boot-liveness
Jun 16, 2026
Merged

Use macOS boot session API for liveness#397
yvette-carlisle merged 3 commits into
mainfrom
xy/macos-boot-liveness

Conversation

@yvette-carlisle

Copy link
Copy Markdown
Member

Summary

  • read macOS host boot identity through kern.bootsessionuuid via sysctlbyname
  • remove the sysctl subprocess and kern.boottime timeval dependency from liveness markers
  • add a regression test for the boot-session UUID marker prefix

Verification

  • cargo test -p decodex macos_host_boot_id_uses_boot_session_uuid
  • cargo test -p decodex live_process
  • cargo test -p decodex previous_boot
  • cargo make fmt-check
  • cargo make check-rust

@yvette-carlisle
yvette-carlisle merged commit a390983 into main Jun 16, 2026
14 checks passed
@yvette-carlisle
yvette-carlisle deleted the xy/macos-boot-liveness branch June 16, 2026 02:34
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.

1 participant