[PR #1776] [MERGED] Apparmor: blacklist /proc and /sys access from firejail #4068

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/1776
Author: @Vincent43
Created: 2/14/2018
Status: Merged
Merged: 2/19/2018
Merged by: @Vincent43

Base: masterHead: patch-2


📝 Commits (2)

  • 606226f Apparmor: blacklist /proc and /sys access from firejail
  • b232341 Log denied write access for easier debugging

📊 Changes

1 file changed (+12 additions, -43 deletions)

View changed files

📝 etc/firejail-default (+12 -43)

📄 Description

Firejail does blacklisting sensitive /proc and /sys files on its own: https://github.com/netblue30/firejail/blob/master/src/firejail/fs.c#L530

There is no need to duplicate this in apparmor using whitelisting approach which is much harder to do and needs never ending maintenance.

See discussion in https://github.com/netblue30/firejail/pull/1766#issuecomment-364786746


🔄 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/1776 **Author:** [@Vincent43](https://github.com/Vincent43) **Created:** 2/14/2018 **Status:** ✅ Merged **Merged:** 2/19/2018 **Merged by:** [@Vincent43](https://github.com/Vincent43) **Base:** `master` ← **Head:** `patch-2` --- ### 📝 Commits (2) - [`606226f`](https://github.com/netblue30/firejail/commit/606226f0b960270382b66d60d37918850989e935) Apparmor: blacklist /proc and /sys access from firejail - [`b232341`](https://github.com/netblue30/firejail/commit/b232341cd17d1bdbf2c535490708b7b3bd473078) Log denied write access for easier debugging ### 📊 Changes **1 file changed** (+12 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `etc/firejail-default` (+12 -43) </details> ### 📄 Description Firejail does blacklisting sensitive /proc and /sys files on its own: https://github.com/netblue30/firejail/blob/master/src/firejail/fs.c#L530 There is no need to duplicate this in apparmor using whitelisting approach which is much harder to do and needs never ending maintenance. See discussion in https://github.com/netblue30/firejail/pull/1766#issuecomment-364786746 --- <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:13:11 -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#4068
No description provided.