1config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS 2 bool 3 default y if BR2_aarch64 4 default y if BR2_arm || BR2_armeb 5 default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el 6 default y if BR2_i386 || BR2_x86_64 7 default y if BR2_powerpc64 || BR2_powerpc 8 9config BR2_PACKAGE_LIBSECCOMP 10 bool "libseccomp" 11 depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS 12 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 13 help 14 High level interface to the Linux Kernel's seccomp filter 15 16 The libseccomp library provides an easy to use, platform 17 independent, interface to the Linux Kernel's syscall filtering 18 mechanism: seccomp. The libseccomp API is designed to abstract 19 away the underlying BPF based syscall filter language and 20 present a more conventional function-call based filtering 21 interface that should be familiar to, and easily adopted by 22 application developers. 23 24 https://github.com/seccomp/libseccomp 25 26comment "libseccomp needs a toolchain w/ headers >= 3.12" 27 depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS 28 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 29