linux/arch
YiFei Zhu 282a181b1a seccomp: Move config option SECCOMP to arch/Kconfig
In order to make adding configurable features into seccomp easier,
it's better to have the options at one single location, considering
especially that the bulk of seccomp code is arch-independent. An quick
look also show that many SECCOMP descriptions are outdated; they talk
about /proc rather than prctl.

As a result of moving the config option and keeping it default on,
architectures arm, arm64, csky, riscv, sh, and xtensa did not have SECCOMP
on by default prior to this and SECCOMP will be default in this change.

Architectures microblaze, mips, powerpc, s390, sh, and sparc have an
outdated depend on PROC_FS and this dependency is removed in this change.

Suggested-by: Jann Horn <jannh@google.com>
Link: https://lore.kernel.org/lkml/CAG48ez1YWz9cnp08UZgeieYRhHdqh-ch7aNwc4JRBnGyrmgfMg@mail.gmail.com/
Signed-off-by: YiFei Zhu <yifeifz2@illinois.edu>
[kees: added HAVE_ARCH_SECCOMP help text, tweaked wording]
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/9ede6ef35c847e58d61e476c6a39540520066613.1600951211.git.yifeifz2@illinois.edu
2020-10-08 13:17:47 -07:00
..
alpha iomap: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
arc mm/gup: remove task_struct pointer for all gup code 2020-08-12 10:58:04 -07:00
arm seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
arm64 seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
h8300 uaccess: remove segment_eq 2020-08-12 10:57:58 -07:00
hexagon mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
ia64 arch/ia64: Restore arch-specific pgd_offset_k implementation 2020-08-17 21:50:54 +03:00
m68k Cleanup, SECCOMP_FILTER support, message printing fixes, and other 2020-08-15 18:50:32 -07:00
microblaze seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
mips seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
nds32 mm/nds32: use general page fault accounting 2020-08-12 10:58:03 -07:00
nios2 mm/nios2: use general page fault accounting 2020-08-12 10:58:03 -07:00
openrisc OpenRISC updates for 5.9 2020-08-14 14:04:53 -07:00
parisc seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
powerpc seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
riscv seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
s390 seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
sh seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
sparc seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
um seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
x86 seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
xtensa seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00
.gitignore
Kconfig seccomp: Move config option SECCOMP to arch/Kconfig 2020-10-08 13:17:47 -07:00