2014-12-16 04:53:53 +01:00
|
|
|
config BR2_PACKAGE_LIBSELINUX
|
|
|
|
bool "libselinux"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2015-01-02 21:08:41 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2022-01-04 23:02:40 +01:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol
|
2017-04-22 19:17:58 +02:00
|
|
|
select BR2_PACKAGE_LIBSEPOL
|
2022-04-24 22:00:14 +02:00
|
|
|
select BR2_PACKAGE_PCRE2
|
2019-09-22 11:06:26 +02:00
|
|
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
2014-12-16 04:53:53 +01:00
|
|
|
help
|
|
|
|
libselinux is the runtime SELinux library that provides
|
|
|
|
interfaces (e.g. library functions for the SELinux kernel
|
|
|
|
APIs like getcon(), other support functions like
|
|
|
|
getseuserbyname()) to SELinux-aware applications. libselinux
|
|
|
|
may use the shared libsepol to manipulate the binary policy
|
|
|
|
if necessary (e.g. to downgrade the policy format to an
|
|
|
|
older version supported by the kernel) when loading policy.
|
|
|
|
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
|
2022-01-04 23:02:40 +01:00
|
|
|
comment "libselinux needs a toolchain w/ threads, dynamic library, gcc >= 5"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|