]> granicus.if.org Git - strace/commit
Fix -b execve when --seccomp-bpf option is specified
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Oct 2019 21:58:20 +0000 (21:58 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 4 Oct 2019 21:58:20 +0000 (21:58 +0000)
commite9cb6ff5e2ed187c77259c86a8094e00d1eddc2d
tree95fe21708373fd47a02c9b80882e4f001d22fbb9
parent509400106aeb0f7df1e9ace2b20ed22a42a7a1d0
Fix -b execve when --seccomp-bpf option is specified

As --seccomp-bpf does not support detaching, explicitly turn off
this option when -b execve is specified.

* strace.c (init): Turn off --seccomp-bpf when -b execve is specified.
* NEWS: Mention this fix.
* tests/bexecve.test: Check it.

Fixes: v5.3~7 "Introduce seccomp-assisted syscall filtering"
NEWS
strace.c
tests/bexecve.test