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

cptbox: don't allow paths that don't exist #1010

Merged
merged 3 commits into from
Mar 11, 2022
Merged

Commits on Mar 5, 2022

  1. cptbox: move logic from rule adding to constructor

    Basically, instead of checking that rules are correctly written when 
    they are compiled into the jail, we should just check at construction 
    time.
    Riolku committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    7f849c9 View commit details
    Browse the repository at this point in the history
  2. cptbox: don't allow paths that don't exist

    This is mostly for compatability with landlock, which enforces this.
    Riolku committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    f752724 View commit details
    Browse the repository at this point in the history
  3. cptbox: let compilers specify required dirs

    Some compilers require directories to write to, specifically, ZIG and 
    SWIFT require `.cache`
    Riolku committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    df90c9e View commit details
    Browse the repository at this point in the history