2013-09-11 23:59:21 +02:00
|
|
|
config BR2_PACKAGE_LIBSEPOL
|
|
|
|
bool "libsepol"
|
2017-11-03 14:33:06 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
|
2013-09-11 23:59:21 +02:00
|
|
|
help
|
|
|
|
Libsepol is the binary policy manipulation library. It doesn't
|
|
|
|
depend upon or use any of the other SELinux components.
|
|
|
|
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
2017-11-03 14:33:06 +01:00
|
|
|
|
2020-02-03 14:29:49 +01:00
|
|
|
if BR2_PACKAGE_LIBSEPOL
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
|
2020-02-03 14:29:50 +01:00
|
|
|
int "Policy version"
|
2020-02-03 14:29:51 +01:00
|
|
|
default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
|
|
|
|
default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3
|
|
|
|
default 29 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14
|
|
|
|
default 28 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5
|
|
|
|
default 26 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6
|
|
|
|
default 25
|
|
|
|
help
|
|
|
|
The maximum SELinux policy version your kernel supports.
|
|
|
|
|
|
|
|
Here's a handy table to help you choose:
|
|
|
|
kernel version SElinux policy max version
|
|
|
|
<= 2.6.x 25
|
|
|
|
> 2.6 <= 3.5 26
|
|
|
|
> 3.5 <= 3.14 28 (27 and 28 were added at the same time)
|
|
|
|
> 3.14 <= 4.3 29
|
|
|
|
> 4.3 <= 4.13 30
|
|
|
|
> 4.13 31
|
2020-02-03 14:29:49 +01:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2017-11-03 14:33:06 +01:00
|
|
|
comment "libsepol needs a toolchain w/ threads"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|