Config.in 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. config BR2_PACKAGE_SMACK
  2. bool "smack"
  3. depends on !BR2_STATIC_LIBS # dlfcn.h
  4. depends on BR2_TOOLCHAIN_HAS_THREADS
  5. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
  6. help
  7. User space programs and libraries for SMACK.
  8. SMACK stands for Simplified Mandatory Access Control Kernel.
  9. It is a Linux Security Module which provides a Mandatory
  10. Access Control mechanism, aimed towards simplicity.
  11. This package provides a library which allows applications to
  12. work with SMACK and tools to load/unload rules from the
  13. kernel, as well as query the policy.
  14. SMACK requires the following kernel options to be enabled:
  15. - CONFIG_SECURITY
  16. - CONFIG_SECURITY_SMACK
  17. - CONFIG_SECURITY_NETWORK
  18. These options will be automatically enabled by Buildroot if
  19. it is responsible for building the kernel. Otherwise, if you
  20. are building your kernel outside of Buildroot, make sure
  21. these options are enabled.
  22. To activate SMACK, do not forget to add "security=smack" to
  23. your kernel command line.
  24. https://github.com/smack-team/smack
  25. comment "smack needs a toolchain w/ dynamic library, threads, headers >= 3.0"
  26. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
  27. || !BR2_TOOLCHAIN_HAS_THREADS