Skip to content

Protect shared cache using landlock#15452

Draft
Alizter wants to merge 5 commits into
ocaml:mainfrom
Alizter:landlock
Draft

Protect shared cache using landlock#15452
Alizter wants to merge 5 commits into
ocaml:mainfrom
Alizter:landlock

Conversation

@Alizter

@Alizter Alizter commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Description

Related Issue and Motivation

Fixes #NNN

Checklist

  • Tests added, if applicable.
  • Change log entry added for any user-facing changes.
  • Documentation added for any user-facing changes.

Alizter added 5 commits July 8, 2026 16:32
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
let dune = Path.of_filename_relative_to_initial_cwd Sys.executable_name in
let args =
List.concat
[ [ "internal"; "with-landlock"; "--deny-write"; Filename.dir_sep ]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean that we're wrapping every single binary we spawn with this invocation?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants