1*4882a593Smuzhiyuncomment "policycoreutils needs a toolchain w/ threads, dynamic library" 2*4882a593Smuzhiyun depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS 3*4882a593Smuzhiyun depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunconfig BR2_PACKAGE_POLICYCOREUTILS 6*4882a593Smuzhiyun bool "policycoreutils" 7*4882a593Smuzhiyun depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage 8*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage 9*4882a593Smuzhiyun depends on !BR2_STATIC_LIBS #libsemanage 10*4882a593Smuzhiyun select BR2_PACKAGE_LIBSEMANAGE 11*4882a593Smuzhiyun select BR2_PACKAGE_LIBCAP_NG 12*4882a593Smuzhiyun help 13*4882a593Smuzhiyun Policycoreutils is a collection of policy utilities 14*4882a593Smuzhiyun (originally the "core" set of utilities needed to use 15*4882a593Smuzhiyun SELinux, although it has grown a bit over time), which have 16*4882a593Smuzhiyun different dependencies. sestatus, secon, run_init, and 17*4882a593Smuzhiyun newrole only use libselinux. load_policy and setfiles only 18*4882a593Smuzhiyun use libselinux and libsepol. semodule and semanage use 19*4882a593Smuzhiyun libsemanage (and thus bring in dependencies on libsepol and 20*4882a593Smuzhiyun libselinux as well). setsebool uses libselinux to make 21*4882a593Smuzhiyun non-persistent boolean changes (via the kernel interface) 22*4882a593Smuzhiyun and uses libsemanage to make persistent boolean changes. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun The base package will install the following utilities: 25*4882a593Smuzhiyun load_policy 26*4882a593Smuzhiyun newrole 27*4882a593Smuzhiyun run_init 28*4882a593Smuzhiyun secon 29*4882a593Smuzhiyun semodule 30*4882a593Smuzhiyun sestatus 31*4882a593Smuzhiyun setfiles 32*4882a593Smuzhiyun setsebool 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun http://selinuxproject.org/page/Main_Page 35