X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2FKconfig;h=fd6e9712af81b5bab38f871665d2a2df66d8468d;hb=2ddfdd428906749e45a6b765712d1c68e5daa723;hp=e9c9334507ddd57f2fd787f2faa3dac71edc18a7;hpb=633af91ddb9133d65da6f3a77bb8908cdbf6aced;p=cascardo%2Flinux.git diff --git a/arch/Kconfig b/arch/Kconfig index e9c9334507dd..fd6e9712af81 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -336,17 +336,6 @@ config HAVE_ARCH_SECCOMP_FILTER results in the system call being skipped immediately. - seccomp syscall wired up - For best performance, an arch should use seccomp_phase1 and - seccomp_phase2 directly. It should call seccomp_phase1 for all - syscalls if TIF_SECCOMP is set, but seccomp_phase1 does not - need to be called from a ptrace-safe context. It must then - call seccomp_phase2 if seccomp_phase1 returns anything other - than SECCOMP_PHASE1_OK or SECCOMP_PHASE1_SKIP. - - As an additional optimization, an arch may provide seccomp_data - directly to seccomp_phase1; this avoids multiple calls - to the syscall_xyz helpers for every syscall. - config SECCOMP_FILTER def_bool y depends on HAVE_ARCH_SECCOMP_FILTER && SECCOMP && NET