1config BR2_PACKAGE_LIBSEPOL 2 bool "libsepol" 3 depends on BR2_TOOLCHAIN_HAS_THREADS # pthread 4 help 5 Libsepol is the binary policy manipulation library. It doesn't 6 depend upon or use any of the other SELinux components. 7 8 http://selinuxproject.org/page/Main_Page 9 10if BR2_PACKAGE_LIBSEPOL 11 12config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION 13 int "Policy version" 14 default 33 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 15 default 32 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 16 default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 17 default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 18 default 29 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 19 default 28 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 20 default 26 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6 21 default 25 22 help 23 The maximum SELinux policy version your kernel supports. 24 25 Here's a handy table to help you choose: 26 kernel version SElinux policy max version 27 < 2.6.x 25 28 >= 2.6 < 3.5 26 29 >= 3.5 < 3.14 28 (27 and 28 were added at the same time) 30 >= 3.14 < 4.3 29 31 >= 4.3 < 4.13 30 32 >= 4.13 < 5.5 31 33 >= 5.5 < 5.8 32 34 >= 5.8 33 35 36endif 37 38comment "libsepol needs a toolchain w/ threads" 39 depends on !BR2_TOOLCHAIN_HAS_THREADS 40