[PR #6153] [MERGED] firecfg: use ignorelist also for .profile/.desktop files #5846

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6153
Author: @kmk3
Created: 1/11/2024
Status: Merged
Merged: 1/19/2024
Merged by: @kmk3

Base: masterHead: firecfg-ignorelist-extra


📝 Commits (4)

  • 69f804b firecfg: use ignorelist also for .profile files
  • 46e2ab9 firecfg: refactor config parse functions
  • 358af63 firecfg: use filename var earlier
  • a9c851e firecfg: use ignorelist also for .desktop files

📊 Changes

4 files changed (+66 additions, -26 deletions)

View changed files

📝 src/firecfg/desktop_files.c (+23 -4)
📝 src/firecfg/firecfg.h (+2 -0)
📝 src/firecfg/main.c (+40 -21)
📝 src/man/firecfg.1.in (+1 -1)

📄 Description

Currently it is only used when parsing the configuration files:

  • /etc/firecfg.d/*.conf
  • /etc/firecfg.config

Use it when searching for .profile and .desktop files as well:

  • ~/.config/firejail/*.profile
  • /usr/share/applications/*.desktop

Closes #5245.

Relates to #5876.


🔄 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/6153 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 1/11/2024 **Status:** ✅ Merged **Merged:** 1/19/2024 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `firecfg-ignorelist-extra` --- ### 📝 Commits (4) - [`69f804b`](https://github.com/netblue30/firejail/commit/69f804b4a3fa76a34088b1c97e9321d5afc1eb4f) firecfg: use ignorelist also for .profile files - [`46e2ab9`](https://github.com/netblue30/firejail/commit/46e2ab9d2e3004e43cbe2b73f2592325700a1af2) firecfg: refactor config parse functions - [`358af63`](https://github.com/netblue30/firejail/commit/358af63a1ad6d9c44410d615f707ac94300a4013) firecfg: use filename var earlier - [`a9c851e`](https://github.com/netblue30/firejail/commit/a9c851ee486bbc0c071187c7869c480c893c67a4) firecfg: use ignorelist also for .desktop files ### 📊 Changes **4 files changed** (+66 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `src/firecfg/desktop_files.c` (+23 -4) 📝 `src/firecfg/firecfg.h` (+2 -0) 📝 `src/firecfg/main.c` (+40 -21) 📝 `src/man/firecfg.1.in` (+1 -1) </details> ### 📄 Description Currently it is only used when parsing the configuration files: * /etc/firecfg.d/*.conf * /etc/firecfg.config Use it when searching for .profile and .desktop files as well: * ~/.config/firejail/*.profile * /usr/share/applications/*.desktop Closes #5245. Relates to #5876. --- <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:59 -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#5846
No description provided.