[PR #6734] [MERGED] bugfix: add missing selinux relabeling for /dev paths #6145

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6734
Author: @aerusso
Created: 5/3/2025
Status: Merged
Merged: 5/15/2025
Merged by: @kmk3

Base: masterHead: mrs/selinux-fsdev


📝 Commits (1)

  • 25a1bbd selinux: more labeling in fs_dev

📊 Changes

1 file changed (+15 additions, -0 deletions)

View changed files

📝 src/firejail/fs_dev.c (+15 -0)

📄 Description

Some objects are created in fs_dev but not labeled. This patch ensures that those objects are properly labeled.

As an aside: I am locally running a fully confined SELinux setup using firejail (this is in fact posted from a fully SELinux contained Firefox instance running within a firejail). This involves a custom SELinux module for firejail (and other programs). So, this patch isn't "abstract" in any way---it's actually essential for me.


🔄 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/6734 **Author:** [@aerusso](https://github.com/aerusso) **Created:** 5/3/2025 **Status:** ✅ Merged **Merged:** 5/15/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `mrs/selinux-fsdev` --- ### 📝 Commits (1) - [`25a1bbd`](https://github.com/netblue30/firejail/commit/25a1bbd7c51b60abc389749f8e5f2f17f719cb9e) selinux: more labeling in fs_dev ### 📊 Changes **1 file changed** (+15 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/fs_dev.c` (+15 -0) </details> ### 📄 Description Some objects are created in fs_dev but not labeled. This patch ensures that those objects are properly labeled. As an aside: I am locally running a fully confined SELinux setup using firejail (this is in fact posted from a fully SELinux contained Firefox instance running within a firejail). This involves a custom SELinux module for firejail (and other programs). So, this patch isn't "abstract" in any way---it's actually essential for me. --- <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:51:34 -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#6145
No description provided.