Config.in 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. config BR2_PACKAGE_SELINUX_PYTHON
  2. bool "selinux-python"
  3. depends on !BR2_PACKAGE_PYTHON
  4. depends on BR2_USE_MMU
  5. depends on BR2_USE_WCHAR
  6. depends on BR2_TOOLCHAIN_HAS_THREADS
  7. depends on !BR2_STATIC_LIBS
  8. select BR2_PACKAGE_PYTHON3
  9. help
  10. A set of SELinux tools written in python that help with
  11. managing a system with SELinux enabled. If no packages are
  12. selected nothing will actually be built.
  13. https://github.com/SELinuxProject/selinux/wiki
  14. if BR2_PACKAGE_SELINUX_PYTHON
  15. config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW
  16. bool "audit2allow"
  17. select BR2_PACKAGE_CHECKPOLICY
  18. select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
  19. select BR2_PACKAGE_SEMODULE_UTILS
  20. help
  21. This module installs two programs:
  22. audit2allow - Generate SELinux policy allow/dontaudit rules
  23. from logs of denied operations.
  24. audit2why - translates SELinux audit messages into a
  25. description of why the access was denied (audit2allow -w)
  26. config BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN
  27. bool "sepolgen"
  28. select BR2_PACKAGE_SEMODULE_UTILS
  29. help
  30. This package contains a Python module that allows you to
  31. generate an initial SELinux policy module template.
  32. endif
  33. comment "selinux-python needs python3"
  34. depends on BR2_USE_MMU
  35. depends on BR2_PACKAGE_PYTHON
  36. comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library"
  37. depends on BR2_USE_MMU
  38. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  39. BR2_STATIC_LIBS