sh: Add SECCOMP_FILTER
authorMichael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Wed, 22 Jul 2020 23:13:21 +0000 (01:13 +0200)
committerRich Felker <dalias@libc.org>
Sat, 15 Aug 2020 02:05:19 +0000 (22:05 -0400)
commit0bb605c2c7f2b4b314b91510810b226de7f34fa1
tree7ed367763584d1a3690174800e37ac196b43361b
parent9d2ec8f68e9dfbdd9ae9bdc79cc4deedc0ad4e6b
sh: Add SECCOMP_FILTER

Port sh to use the new SECCOMP_FILTER code.

Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/Kconfig
arch/sh/kernel/entry-common.S
arch/sh/kernel/ptrace_32.c
tools/testing/selftests/seccomp/seccomp_bpf.c