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

Change setuid Calls to setreuid, and the Same for setgid. #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 11, 2023

  1. Change setuid Calls to setreuid, and the Same for setgid.

    As described in section 8.1 of https://people.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf,
    setuid should be avoided because of its inconsistent implementation across different unix systems. Instead,
    setreuid should be used, as it is more consistent across systems.
    ljtpetersen committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    4498540 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Restore Integer Cast on waitpid Return Value

    Add a clippy allow statement and a comment to indicate why the cast is there.
    ljtpetersen committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    35522cb View commit details
    Browse the repository at this point in the history