2014-04-20 20:54:03 +02:00
|
|
|
config BR2_PACKAGE_SMACK
|
|
|
|
bool "smack"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on !BR2_STATIC_LIBS # dlfcn.h
|
2014-05-01 15:16:20 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2014-04-24 10:56:19 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
2014-04-20 20:54:03 +02:00
|
|
|
help
|
|
|
|
User space programs and libraries for SMACK.
|
|
|
|
|
|
|
|
SMACK stands for Simplified Mandatory Access Control Kernel.
|
2017-12-18 09:21:05 +01:00
|
|
|
It is a Linux Security Module which provides a Mandatory
|
|
|
|
Access Control mechanism, aimed towards simplicity.
|
2014-04-20 20:54:03 +02:00
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
This package provides a library which allows applications to
|
|
|
|
work with SMACK and tools to load/unload rules from the
|
|
|
|
kernel, as well as query the policy.
|
2014-04-20 20:54:03 +02:00
|
|
|
|
|
|
|
SMACK requires the following kernel options to be enabled:
|
|
|
|
|
|
|
|
- CONFIG_SECURITY
|
|
|
|
- CONFIG_SECURITY_SMACK
|
|
|
|
- CONFIG_SECURITY_NETWORK
|
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
These options will be automatically enabled by Buildroot if
|
|
|
|
it is responsible for building the kernel. Otherwise, if you
|
|
|
|
are building your kernel outside of Buildroot, make sure
|
|
|
|
these options are enabled.
|
2014-04-20 20:54:03 +02:00
|
|
|
|
2017-12-18 09:21:05 +01:00
|
|
|
To activate SMACK, do not forget to add "security=smack" to
|
|
|
|
your kernel command line.
|
2014-04-20 20:54:03 +02:00
|
|
|
|
|
|
|
https://github.com/smack-team/smack
|
|
|
|
|
2014-05-01 15:16:20 +02:00
|
|
|
comment "smack needs a toolchain w/ dynamic library, threads, headers >= 3.0"
|
2014-12-03 22:41:29 +01:00
|
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
2014-05-01 15:16:20 +02:00
|
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS
|