Config.in 1.1 KB

123456789101112131415161718192021222324252627282930
  1. config 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. default y if BR2_RISCV_64
  9. default y if BR2_s390x
  10. config BR2_PACKAGE_LIBSECCOMP
  11. bool "libseccomp"
  12. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  13. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
  14. help
  15. High level interface to the Linux Kernel's seccomp filter
  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. https://github.com/seccomp/libseccomp
  24. comment "libseccomp needs a toolchain w/ headers >= 3.17"
  25. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  26. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17