[PR #66] [MERGED] Add seccomp errno filter support #3531

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/66
Author: @wader
Created: 9/23/2015
Status: Merged
Merged: 9/26/2015
Merged by: @netblue30

Base: masterHead: seccomp-errno


📝 Commits (1)

  • 081d1fb Add seccomp errno filter support

📊 Changes

8 files changed (+393 additions, -38 deletions)

View changed files

src/firejail/errno.c (+214 -0)
📝 src/firejail/firejail.h (+8 -1)
📝 src/firejail/main.c (+43 -0)
📝 src/firejail/sandbox.c (+2 -0)
📝 src/firejail/seccomp.c (+110 -34)
📝 src/firejail/syscall.c (+3 -3)
📝 src/man/firejail.txt (+9 -0)
src/tools/extract_errnos.sh (+4 -0)

📄 Description

No tests yet. Tried to get the existing tests running without much success :(
Would users like to mix errno and black/white -lists? i currently only need errno filter and default allow.
Tried to keep same code style, hope it is ok.


🔄 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/66 **Author:** [@wader](https://github.com/wader) **Created:** 9/23/2015 **Status:** ✅ Merged **Merged:** 9/26/2015 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `seccomp-errno` --- ### 📝 Commits (1) - [`081d1fb`](https://github.com/netblue30/firejail/commit/081d1fbf2ac9cd547ac68e8494eace3434926f12) Add seccomp errno filter support ### 📊 Changes **8 files changed** (+393 additions, -38 deletions) <details> <summary>View changed files</summary> ➕ `src/firejail/errno.c` (+214 -0) 📝 `src/firejail/firejail.h` (+8 -1) 📝 `src/firejail/main.c` (+43 -0) 📝 `src/firejail/sandbox.c` (+2 -0) 📝 `src/firejail/seccomp.c` (+110 -34) 📝 `src/firejail/syscall.c` (+3 -3) 📝 `src/man/firejail.txt` (+9 -0) ➕ `src/tools/extract_errnos.sh` (+4 -0) </details> ### 📄 Description No tests yet. Tried to get the existing tests running without much success :( Would users like to mix errno and black/white -lists? i currently only need errno filter and default allow. Tried to keep same code style, hope it is ok. --- <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:03:07 -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#3531
No description provided.