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

declare proc_dir earlier and resolve exact proc_dir #1001

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

Commits on Feb 28, 2022

  1. cptbox: declare proc_dir earlier and resolve exact proc_dir

    We can declare the proc directory earlier in the code and use it. We 
    intentionally add a trailing slash on line 352, in case for instance, 
    the process PID is 123 and they request /proc/12345. Finally, we add a 
    check for the literal directory /proc/getpid()
    Riolku committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    2d7da9e View commit details
    Browse the repository at this point in the history