xref: /OK3568_Linux_fs/buildroot/package/libselinux/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBSELINUX
2*4882a593Smuzhiyun	bool "libselinux"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
4*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS
5*4882a593Smuzhiyun	select BR2_PACKAGE_LIBSEPOL
6*4882a593Smuzhiyun	select BR2_PACKAGE_PCRE
7*4882a593Smuzhiyun	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  libselinux is the runtime SELinux library that provides
10*4882a593Smuzhiyun	  interfaces (e.g. library functions for the SELinux kernel
11*4882a593Smuzhiyun	  APIs like getcon(), other support functions like
12*4882a593Smuzhiyun	  getseuserbyname()) to SELinux-aware applications. libselinux
13*4882a593Smuzhiyun	  may use the shared libsepol to manipulate the binary policy
14*4882a593Smuzhiyun	  if necessary (e.g. to downgrade the policy format to an
15*4882a593Smuzhiyun	  older version supported by the kernel) when loading policy.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  http://selinuxproject.org/page/Main_Page
18*4882a593Smuzhiyun
19*4882a593Smuzhiyuncomment "libselinux needs a toolchain w/ threads, dynamic library"
20*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
21