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

repo: Add missing O_CLOEXEC #28

Merged
merged 1 commit into from
Nov 7, 2024

Commits on Nov 7, 2024

  1. repo: Add missing O_CLOEXEC

    We're pervasively missing this and O_CLOEXEC is IMO quite important
    for anything caring about security. Rust notably does *not*
    automatically close fds with `std::process::Command`.
    
    Now...digging into this I do think we should take a dep on
    cap-std{,-ext} but that's a distinct thread.
    
    Signed-off-by: Colin Walters <[email protected]>
    cgwalters committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    c0a8c98 View commit details
    Browse the repository at this point in the history