aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-04-17 22:27:56 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-04-17 22:27:56 +0200
commit67d7705a9aa58886e8a8777fe4c95746c1fb5c96 (patch)
tree47b5b7682726f0435dc85edefc06b1a5ad038008
parent5199804621fdf1cb70fee71823eba5b4b4ac1164 (diff)
downloadbuildroot-67d7705a9aa58886e8a8777fe4c95746c1fb5c96.tar.gz
buildroot-67d7705a9aa58886e8a8777fe4c95746c1fb5c96.tar.bz2
package/libsepol: fix help text for BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
The help text was wrong, as it didn't match the actual default values we were specifying. Indeed, when we specify: default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 It means that the policy version 30 is supported starting from Linux 4.3 included, and that 31 is supported from Linux 4.13 included. So we shouldn't have: > 4.3 <= 4.13 30 > 4.13 31 but: >= 4.3 < 4.13 30 >= 4.13 31 This patch fixes that for all versions. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libsepol/Config.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in
index 21d4d7865c..21d9e96179 100644
--- a/package/libsepol/Config.in
+++ b/package/libsepol/Config.in
@@ -22,12 +22,12 @@ config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
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
+ < 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
endif