c7e8f3d235
Add proper SAFETY documentation comments to the two unsafe blocks using libc::getuid() in src/service/mod.rs: 1. In is_root() function: documents why getuid() is safe to call 2. In is_root_matches_system_uid() test: documents the test's purpose This addresses the best practices audit finding about unsafe code without safety comments. While we could use the nix crate's safe wrapper, adding safety comments is a minimal change that satisfies the audit requirement without introducing new dependencies. As noted in refactor-candidates.md, the nix crate alternative would also be acceptable, but this change follows the principle of minimal intervention for documentation-only improvements. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>