[PR #6078] [MERGED] feature: add Landlock support #5820

Closed
opened 2026-05-05 10:45:31 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6078
Author: @kmk3
Created: 11/4/2023
Status: Merged
Merged: 12/4/2023
Merged by: @netblue30

Base: masterHead: landlock_v3


📝 Commits (6)

  • 5456ec6 cleanup
  • 13b2c56 feature: add Landlock support
  • abc1edc landlock: new filesystem for --landlock command
  • b94cc75 landlock: apply rules in sandbox before app start
  • 520508d landlock: avoid parsing landlock commands twice
  • d10bf15 landlock: detect support at runtime

📊 Changes

18 files changed (+730 additions, -32 deletions)

View changed files

📝 README (+2 -1)
📝 config.mk.in (+2 -0)
📝 configure (+57 -29)
📝 configure.ac (+12 -0)
📝 contrib/syntax/lists/profile_commands_arg0.list (+1 -0)
📝 contrib/syntax/lists/profile_commands_arg1.list (+5 -0)
📝 src/bash_completion/firejail.bash_completion.in (+19 -0)
📝 src/firejail/checkcfg.c (+7 -0)
📝 src/firejail/firejail.h (+37 -0)
src/firejail/landlock.c (+361 -0)
📝 src/firejail/main.c (+28 -0)
📝 src/firejail/profile.c (+39 -2)
📝 src/firejail/sandbox.c (+22 -0)
📝 src/firejail/usage.c (+8 -0)
📝 src/firejail/util.c (+7 -0)
📝 src/man/firejail-profile.5.in (+31 -0)
📝 src/man/firejail.1.in (+87 -0)
📝 src/zsh_completion/_firejail.in (+5 -0)

📄 Description

Relates to:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6078 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 11/4/2023 **Status:** ✅ Merged **Merged:** 12/4/2023 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `landlock_v3` --- ### 📝 Commits (6) - [`5456ec6`](https://github.com/netblue30/firejail/commit/5456ec647741ae4b3494f1db8fa40a617ffadcea) cleanup - [`13b2c56`](https://github.com/netblue30/firejail/commit/13b2c566df883269b55f77757bb50a5d2890ec20) feature: add Landlock support - [`abc1edc`](https://github.com/netblue30/firejail/commit/abc1edccb2c6a0041a05da3f5da71d9025e8ea56) landlock: new filesystem for --landlock command - [`b94cc75`](https://github.com/netblue30/firejail/commit/b94cc754a0f88ac5b594c52b6a1a3c88b622772c) landlock: apply rules in sandbox before app start - [`520508d`](https://github.com/netblue30/firejail/commit/520508d5be10e7579635193d24bc1ff004ed682b) landlock: avoid parsing landlock commands twice - [`d10bf15`](https://github.com/netblue30/firejail/commit/d10bf154a9f0eab07e15f9d3b45b3642e3634f30) landlock: detect support at runtime ### 📊 Changes **18 files changed** (+730 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `README` (+2 -1) 📝 `config.mk.in` (+2 -0) 📝 `configure` (+57 -29) 📝 `configure.ac` (+12 -0) 📝 `contrib/syntax/lists/profile_commands_arg0.list` (+1 -0) 📝 `contrib/syntax/lists/profile_commands_arg1.list` (+5 -0) 📝 `src/bash_completion/firejail.bash_completion.in` (+19 -0) 📝 `src/firejail/checkcfg.c` (+7 -0) 📝 `src/firejail/firejail.h` (+37 -0) ➕ `src/firejail/landlock.c` (+361 -0) 📝 `src/firejail/main.c` (+28 -0) 📝 `src/firejail/profile.c` (+39 -2) 📝 `src/firejail/sandbox.c` (+22 -0) 📝 `src/firejail/usage.c` (+8 -0) 📝 `src/firejail/util.c` (+7 -0) 📝 `src/man/firejail-profile.5.in` (+31 -0) 📝 `src/man/firejail.1.in` (+87 -0) 📝 `src/zsh_completion/_firejail.in` (+5 -0) </details> ### 📄 Description Relates to: * #5315 * #5354 * #6065 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:45:31 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5820
No description provided.