Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mark PIDFDInfo and PIDRUsage unsafe #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 29, 2024

  1. fix: mark PIDFDInfo and PIDRUsage unsafe

    This patch marks the PIDRUsage and PIDFDInfo traits
    as unsafe, since incorrect implementations of
    these traits could lead to unsound behavior.
    
    Unfortunately, since these are public traits,
    this will mean an incompatible version bump
    for the next release, though hopefully no one
    is really rolling their own implementation for
    these guys.
    
    https://doc.rust-lang.org/reference/unsafe-keyword.html#unsafe-traits-unsafe-trait
    ethanpailes committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    b7d306b View commit details
    Browse the repository at this point in the history