Message ID | 201911260818.9C5DC1E@keescook (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [GIT,PULL] seccomp updates for v5.5-rc1 | expand |
On Tue, 26 Nov 2019, Kees Cook wrote: > Most notably, the secure_computing() prototype has changed (to remove an > unused argument), but this has happened at the same time as riscv adding > seccomp support, so the cleanest merge order would be to merge riscv > first, then seccomp with the following patch for riscv to handle the > change from "seccomp: simplify secure_computing()": The RISC-V pull request that contains the seccomp change has been sent. It's here: https://lore.kernel.org/linux-riscv/alpine.DEB.2.21.9999.1911261311520.23039@viisi.sifive.com/T/#u - Paul
The pull request you sent on Tue, 26 Nov 2019 08:25:28 -0800:
> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/seccomp-v5.5-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b94ae8ad9fe79da61231999f347f79645b909bda
Thank you!
diff --git a/arch/riscv/kernel/ptrace.c b/arch/riscv/kernel/ptrace.c index 0f84628b9385..407464201b91 100644 --- a/arch/riscv/kernel/ptrace.c +++ b/arch/riscv/kernel/ptrace.c @@ -159,7 +159,7 @@ __visible void do_syscall_trace_enter(struct pt_regs *regs) * If this fails we might have return value in a0 from seccomp * (via SECCOMP_RET_ERRNO/TRACE). */ - if (secure_computing(NULL) == -1) { + if (secure_computing() == -1) { syscall_set_nr(current, regs, -1); return; }