Config.in 1.1 KB

12345678910111213141516171819202122232425262728
  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. config BR2_PACKAGE_LIBSECCOMP
  9. bool "libseccomp"
  10. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  11. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
  12. help
  13. High level interface to the Linux Kernel's seccomp filter
  14. The libseccomp library provides an easy to use, platform
  15. independent, interface to the Linux Kernel's syscall filtering
  16. mechanism: seccomp. The libseccomp API is designed to abstract
  17. away the underlying BPF based syscall filter language and
  18. present a more conventional function-call based filtering
  19. interface that should be familiar to, and easily adopted by
  20. application developers.
  21. https://github.com/seccomp/libseccomp
  22. comment "libseccomp needs a toolchain w/ headers >= 3.12"
  23. depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
  24. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12