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

Add safety comments for mmap etc. #1188

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Add safety comments for mmap etc. #1188

merged 3 commits into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. Add safety comments for mmap etc.

    Add proper safety comments for `mmap` and related functions. Many of
    the tricky things around `mmap` are about handing out Rust references
    to mapped memory, and that technically isn't rustix's responsibility
    to worry about, so these safety comments can be pretty simple.
    
    And, several other miscellaneous documentation and comment cleanups.
    sunfishcode committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a17556a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5c916d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48a8156 View commit details
    Browse the repository at this point in the history