[PR #3276] [MERGED] seccomp: allow defining separate filters for 32-bit arch #4706

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/3276
Author: @topimiettinen
Created: 3/13/2020
Status: Merged
Merged: 3/28/2020
Merged by: @topimiettinen

Base: masterHead: fix-32-bit-seccomp


📝 Commits (1)

  • bd8af5e seccomp: allow defining separate filters for 32-bit arch

📊 Changes

29 files changed (+1330 additions, -5388 deletions)

View changed files

📝 Makefile.in (+3 -1)
📝 src/bash_completion/firejail.bash_completion (+1 -1)
📝 src/firejail/Makefile.in (+3 -3)
📝 src/firejail/firejail.h (+6 -5)
📝 src/firejail/main.c (+70 -0)
📝 src/firejail/preproc.c (+9 -3)
📝 src/firejail/profile.c (+34 -0)
📝 src/firejail/sandbox.c (+10 -4)
📝 src/firejail/seccomp.c (+58 -17)
📝 src/firejail/usage.c (+1 -0)
📝 src/firemon/procevent.c (+1 -1)
📝 src/fsec-print/Makefile.in (+2 -2)
📝 src/fsec-print/fsec_print.h (+1 -3)
📝 src/fsec-print/main.c (+3 -0)
src/fsec-print/syscall_list.c (+0 -47)
📝 src/fseccomp/Makefile.in (+2 -2)
📝 src/fseccomp/fseccomp.h (+12 -22)
📝 src/fseccomp/main.c (+34 -7)
📝 src/fseccomp/protocol.c (+17 -4)
📝 src/fseccomp/seccomp.c (+115 -28)

...and 9 more files

📄 Description

System calls (names and numbers) are not exactly the same for 32 bit
and 64 bit architectures. Let's allow defining separate filters for
32-bit arch using seccomp.32, seccomp.32.drop, seccomp.32.keep. This
is useful for mixed 64/32 bit application environments like Steam and
Wine.

Lists of supported system calls are also updated.


🔄 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/3276 **Author:** [@topimiettinen](https://github.com/topimiettinen) **Created:** 3/13/2020 **Status:** ✅ Merged **Merged:** 3/28/2020 **Merged by:** [@topimiettinen](https://github.com/topimiettinen) **Base:** `master` ← **Head:** `fix-32-bit-seccomp` --- ### 📝 Commits (1) - [`bd8af5e`](https://github.com/netblue30/firejail/commit/bd8af5e68b4ef5c07484cd6033c6296473e3d39c) seccomp: allow defining separate filters for 32-bit arch ### 📊 Changes **29 files changed** (+1330 additions, -5388 deletions) <details> <summary>View changed files</summary> 📝 `Makefile.in` (+3 -1) 📝 `src/bash_completion/firejail.bash_completion` (+1 -1) 📝 `src/firejail/Makefile.in` (+3 -3) 📝 `src/firejail/firejail.h` (+6 -5) 📝 `src/firejail/main.c` (+70 -0) 📝 `src/firejail/preproc.c` (+9 -3) 📝 `src/firejail/profile.c` (+34 -0) 📝 `src/firejail/sandbox.c` (+10 -4) 📝 `src/firejail/seccomp.c` (+58 -17) 📝 `src/firejail/usage.c` (+1 -0) 📝 `src/firemon/procevent.c` (+1 -1) 📝 `src/fsec-print/Makefile.in` (+2 -2) 📝 `src/fsec-print/fsec_print.h` (+1 -3) 📝 `src/fsec-print/main.c` (+3 -0) ➖ `src/fsec-print/syscall_list.c` (+0 -47) 📝 `src/fseccomp/Makefile.in` (+2 -2) 📝 `src/fseccomp/fseccomp.h` (+12 -22) 📝 `src/fseccomp/main.c` (+34 -7) 📝 `src/fseccomp/protocol.c` (+17 -4) 📝 `src/fseccomp/seccomp.c` (+115 -28) _...and 9 more files_ </details> ### 📄 Description System calls (names and numbers) are not exactly the same for 32 bit and 64 bit architectures. Let's allow defining separate filters for 32-bit arch using seccomp.32, seccomp.32.drop, seccomp.32.keep. This is useful for mixed 64/32 bit application environments like Steam and Wine. Lists of supported system calls are also updated. --- <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:25:05 -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#4706
No description provided.