[PR #4036] [MERGED] Add new condition ?HAS_PRIVATE: #5005

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4036
Author: @rusty-snake
Created: 3/3/2021
Status: Merged
Merged: 3/5/2021
Merged by: @netblue30

Base: masterHead: has_private


📝 Commits (1)

  • c30a903 Add new condition ?HAS_PRIVATE:

📊 Changes

2 files changed (+6 additions, -1 deletions)

View changed files

📝 src/firejail/profile.c (+5 -0)
📝 src/man/firejail-profile.txt (+1 -1)

📄 Description

Idea from @vinc17fr
https://github.com/netblue30/firejail/issues/4026#issuecomment-789178572

dp gets included

?HAS_PRIVATE: ignore include disable-programs.inc
include disable-programs.inc

dp gets not included

private
?HAS_PRIVATE: ignore include disable-programs.inc
include disable-programs.inc

dp gets not included

private ${HOME}/foo
?HAS_PRIVATE: ignore include disable-programs.inc
include disable-programs.inc

🔄 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/4036 **Author:** [@rusty-snake](https://github.com/rusty-snake) **Created:** 3/3/2021 **Status:** ✅ Merged **Merged:** 3/5/2021 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `has_private` --- ### 📝 Commits (1) - [`c30a903`](https://github.com/netblue30/firejail/commit/c30a9031a735f43984051bca79f23a4732ce33b7) Add new condition ?HAS_PRIVATE: ### 📊 Changes **2 files changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/profile.c` (+5 -0) 📝 `src/man/firejail-profile.txt` (+1 -1) </details> ### 📄 Description Idea from @vinc17fr https://github.com/netblue30/firejail/issues/4026#issuecomment-789178572 dp gets included ``` ?HAS_PRIVATE: ignore include disable-programs.inc include disable-programs.inc ``` dp gets not included ``` private ?HAS_PRIVATE: ignore include disable-programs.inc include disable-programs.inc ``` dp gets not included ``` private ${HOME}/foo ?HAS_PRIVATE: ignore include disable-programs.inc include disable-programs.inc ``` --- <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:30:33 -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#5005
No description provided.