Skip to content

feat: implement landlock - #638

Draft
C4illin wants to merge 15 commits into
mainfrom
feature/landlock
Draft

C4illin wants to merge 15 commits into
mainfrom
feature/landlock

Conversation

@C4illin

@C4illin C4illin commented Sep 9, 2026 •

Copy link
Copy Markdown
Owner

Summary by cubic

Runs every external converter through a per-job Landlock sandbox instead of invoking tools directly, restricting each process to its input, output, and temporary directories and blocking network access. Unsupported systems fall back to unsandboxed execution; SANDBOX_STRICT=true makes missing sandbox support fail conversions.

Bug Fixes

  • The download endpoint rejects symlinked files.

Migration

  • The Docker image compiles and installs landlock-runner and enables strict mode; SANDBOX_DISABLED=true disables sandbox discovery and LANDLOCK_RUNNER_PATH points to a custom runner.
  • Sandboxed processes use the job temp directory for TMPDIR, TEMP, TMP, HOME, and XDG directories, which are created per job and cleaned up afterward.

Written for commit 970f478. Summary will update on new commits.

View guided diff Turn on auto-fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant