0e2c958e05
- host-gperf is a mandatory dependency since version 2.5.0 and9b129c41ac
- RISC-V 64 bits is supported since version 2.5.0 and5432e15521
- Add a dependency on kernel >= 3.17 because __NR_seccomp is unconditionally used since version 2.5.0 anddead12bc78
and __NR_seccomp is only available since48dc92b9fc
https://github.com/seccomp/libseccomp/blob/v2.5.3/CHANGELOG Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64
|
|
default y if BR2_arm || BR2_armeb
|
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
default y if BR2_i386 || BR2_x86_64
|
|
default y if BR2_powerpc64 || BR2_powerpc
|
|
default y if BR2_RISCV_64
|
|
default y if BR2_s390x
|
|
|
|
config BR2_PACKAGE_LIBSECCOMP
|
|
bool "libseccomp"
|
|
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|
|
help
|
|
High level interface to the Linux Kernel's seccomp filter
|
|
|
|
The libseccomp library provides an easy to use, platform
|
|
independent, interface to the Linux Kernel's syscall filtering
|
|
mechanism: seccomp. The libseccomp API is designed to abstract
|
|
away the underlying BPF based syscall filter language and
|
|
present a more conventional function-call based filtering
|
|
interface that should be familiar to, and easily adopted by
|
|
application developers.
|
|
|
|
https://github.com/seccomp/libseccomp
|
|
|
|
comment "libseccomp needs a toolchain w/ headers >= 3.17"
|
|
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
|