seccomp: fix hole in blocking forks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | seccomp: allow action to be customized per syscallsoftmmu/ | +106 | 0 replies | |
| 2/5 | seccomp: add unit test for seccomp filteringMAINTAINERS tests/ tests/ | +275 | 0 replies | |
| 3/5 | seccomp: fix blocking of process spawningsoftmmu/ tests/ | +102 | 0 replies | |
| 4/5 | seccomp: block use of clone3 syscallsoftmmu/ | +4 | 0 replies | |
| 5/5 | seccomp: block setns, unshare and execveat syscallssoftmmu/ | +5 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eduardo Otubo |
|---|---|
| Series | A-b |
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] seccomp: fix hole in blocking forks
Blocking the 'fork' syscall on Linux is not sufficient to block the 'fork' C library function, because the latter is essentially always implemented using the 'clone' syscall these days.
Blocking 'clone' is difficult as that also blocks pthread creation, so it needs careful filtering.
Daniel P. Berrangé (5):
seccomp: allow action to be customized per syscall
seccomp: add unit test for seccomp filtering
seccomp: fix blocking of process spawning
seccomp: block use of clone3 syscall
seccomp: block setns, unshare and execveat syscalls
MAINTAINERS | 1 + softmmu/qemu-seccomp.c | 282 +++++++++++++++++++++++++++++--------- tests/unit/meson.build | 4 + tests/unit/test-seccomp.c | 269 ++++++++++++++++++++++++++++++++++++ 4 files changed, 490 insertions(+), 66 deletions(-) create mode 100644 tests/unit/test-seccomp.c
Signature · 1 line
2.31.1