Skip to content

v1.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 12:59
· 4 commits to main since this release

Don't take y-not's word for it: where it safely can, y-not asks the kernel too, and tells you when they disagree.

  • Probe the kernel for a ground-truth check: fork, drop to the target identity and call access(2) on the resolved path, then report whether it agrees with the modeled verdict
  • Add one text line — verified: when the kernel confirms, MISMATCH: when it disagrees (most often a security module such as SELinux or AppArmor denying a DAC/ACL-granted access), unverified: with an honest reason when it could not run — and an additive top-level verification object in JSON, keeping the schema version unchanged
  • Skip the probe where it would mislead rather than confirm: when access(2) is blind to the real blocker (inode attributes, the sticky rule), when the path could not be fully resolved or traversed, and for delete; probing an account other than your own requires root
  • Keep the cross-check strictly advisory — it never overrides the modeled verdict — and document it in the README and man page
  • Internals (no behaviour change): cache per-user capability.conf lookups instead of re-reading the file on every permission check, and cut static-analysis maintainability debt