[PR #5595] [MERGED] Rename etc-no-blacklisted to etc-hide-blacklisted #5565

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5595
Author: @kmk3
Created: 1/16/2023
Status: Merged
Merged: 1/16/2023
Merged by: @netblue30

Base: masterHead: rename-etc-no-blacklisted


📝 Commits (3)

  • a36a7a5 Rename etc-no-blacklisted to etc-hide-blacklisted
  • bfb8f0e Reword CFG_ETC_HIDE_BLACKLISTED explanation
  • 91cbbe1 firejail.config: explain potential issues with etc-hide-blacklisted

📊 Changes

5 files changed (+11 additions, -9 deletions)

View changed files

📝 etc/firejail.config (+3 -2)
📝 src/firejail/checkcfg.c (+2 -2)
📝 src/firejail/firejail.h (+1 -1)
📝 src/firejail/fs.c (+1 -1)
📝 src/firejail/fs_etc.c (+4 -3)

📄 Description

To avoid boolean confusion (no-foo no / no-foo yes) in
firejail.config:

etc-no-blacklisted no
etc-no-blacklisted yes

Commands used to search and replace:

git grep -Ilz -i 'etc.no.blacklisted' -- etc src |
  xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \
    -e 's/etc-no-blacklisted/etc-hide-blacklisted/' \
    -e 's/ETC_NO_BLACKLISTED/ETC_HIDE_BLACKLISTED/' \
    '{}')\" >'{}'"

Added on commit ded50200e ("opt-in: skip blacklisted files in
private-etc - #5010, #5230", 2023-01-15) / PR #5591.


🔄 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/5595 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 1/16/2023 **Status:** ✅ Merged **Merged:** 1/16/2023 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `rename-etc-no-blacklisted` --- ### 📝 Commits (3) - [`a36a7a5`](https://github.com/netblue30/firejail/commit/a36a7a5dd8479087d9de0669bd86fd9b25e35ce6) Rename etc-no-blacklisted to etc-hide-blacklisted - [`bfb8f0e`](https://github.com/netblue30/firejail/commit/bfb8f0e0ca243d572a47288a561b5fd05445d9a4) Reword CFG_ETC_HIDE_BLACKLISTED explanation - [`91cbbe1`](https://github.com/netblue30/firejail/commit/91cbbe14895f0b386d50e859eada1432d5009eae) firejail.config: explain potential issues with etc-hide-blacklisted ### 📊 Changes **5 files changed** (+11 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `etc/firejail.config` (+3 -2) 📝 `src/firejail/checkcfg.c` (+2 -2) 📝 `src/firejail/firejail.h` (+1 -1) 📝 `src/firejail/fs.c` (+1 -1) 📝 `src/firejail/fs_etc.c` (+4 -3) </details> ### 📄 Description To avoid boolean confusion (`no-foo no` / `no-foo yes`) in firejail.config: etc-no-blacklisted no etc-no-blacklisted yes Commands used to search and replace: git grep -Ilz -i 'etc.no.blacklisted' -- etc src | xargs -0 -I '{}' sh -c "printf '%s\n' \"\$(sed \ -e 's/etc-no-blacklisted/etc-hide-blacklisted/' \ -e 's/ETC_NO_BLACKLISTED/ETC_HIDE_BLACKLISTED/' \ '{}')\" >'{}'" Added on commit ded50200e ("opt-in: skip blacklisted files in private-etc - #5010, #5230", 2023-01-15) / PR #5591. --- <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:40:46 -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#5565
No description provided.