Add kernel seccomp support for m68k
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v13 Latest3 patches 21 repliesIn review
- v123 patches 1 replySuperseded
- v11 posting 2/23 patches 1 replySuperseded
Earlier versions · 10
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v11 posting 1/2 | 3 patches | 2 replies | Superseded | |
| v10 | 3 patches | 6 replies | Superseded | |
| v9 | 3 patches | 0 replies | Superseded | |
| v8 | 3 patches | 4 replies | Superseded | |
| v7 | 2 patches | 0 replies | Superseded | |
| v6 | 2 patches | 8 replies | Superseded | |
| v5 | 2 patches | 11 replies | Superseded | |
| v4 | 1 patch | 2 replies | Superseded | |
| v2 RFC | 1 patch | 0 replies | Superseded | |
| v1 RFC | 1 patch | 0 replies | Superseded |
Patches in v13 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | m68k/kernel - check syscall_trace_enter() return code on m68karch/ arch/ arch/ | +7 | 2 replies | |
| 2/3 | m68k: add kernel seccomp supportDocumentation/ arch/ arch/ +4 more | +80 | 4 replies | |
| 3/3 | tools/testing - seccomp test fixes for m68ktools/ | +7 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Geert Uytterhoeven |
|---|---|
| 1/3 | R-b R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v13 0/3] Add kernel seccomp support for m68k
Previous version of patch 1 did overwrite a syscall return value that was changed by ptrace or seccomp (in regs->d0) by -ENOSYS when skipping a syscall. Branch directly to ret_from_syscall instead of falling through to badsys (which must set -ENOSYS). I'm sure this can be done more elegantly.
Patch 3 used the wrong struct definition for ARCH_REGS - the kernel ptrace code copies 19 registers (from syscall stack and switch_stack, pt_regs only contains the 14 from the syscall stack). Stack overflow ensues.
With these changes, 79 of 94 seccomp_bpf tests now succeed.
Cheers,
Michael