[PR #4215] [MERGED] Add support for subdirs in private-etc #5065

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/4215
Author: @brisad
Created: 4/25/2021
Status: Merged
Merged: 5/4/2021
Merged by: @netblue30

Base: masterHead: master


📝 Commits (1)

  • 6ebe892 Add support for subdirs in private-etc

📊 Changes

1 file changed (+47 additions, -14 deletions)

View changed files

📝 src/firejail/fs_etc.c (+47 -14)

📄 Description

Gosh it's been a while since I wrote C, and this solution turned out to use more pointer-manipulation that I'd hoped to. I wanted to avoid allocations, but this solution... I don't like it.

But since I already wrote it, and it seems to work, I thought I'd add a PR and you can take a look to see if it's anything to keep.

Fixes #3991


🔄 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/4215 **Author:** [@brisad](https://github.com/brisad) **Created:** 4/25/2021 **Status:** ✅ Merged **Merged:** 5/4/2021 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`6ebe892`](https://github.com/netblue30/firejail/commit/6ebe892510eaaaaff51255ba228dcbdbfbdf4e35) Add support for subdirs in private-etc ### 📊 Changes **1 file changed** (+47 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/fs_etc.c` (+47 -14) </details> ### 📄 Description Gosh it's been a while since I wrote C, and this solution turned out to use more pointer-manipulation that I'd hoped to. I wanted to avoid allocations, but this solution... I don't like it. But since I already wrote it, and it seems to work, I thought I'd add a PR and you can take a look to see if it's anything to keep. Fixes #3991 --- <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:31:38 -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#5065
No description provided.