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