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