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