mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-31 01:41:59 +00:00
d220f4910f
Adds priority, language ext, and enabled fields to semanage_module_info_t. Adds get/set functions for all semanage_module_info_t/key_t fields. This is necessary so that semanage_module_info_t/key_t can be used in the specifing meta data on source policies. Adds create, destroy, and init functions for semanage_module_info_t and semanage_module_key_t. Create initializes and allocates, destroy deallocates fields (but not struct), and init initializes fields. Provide several utility functions for converting a string priority to a uint16_t and validating fields. Adds semanage_module_get_path for getting module specific file paths. Signed-off-by: Chad Sellers <csellers@tresys.com> |
||
---|---|---|
checkpolicy | ||
libselinux | ||
libsemanage | ||
libsepol | ||
policycoreutils | ||
scripts | ||
sepolgen | ||
.gitignore | ||
Makefile | ||
README |
To build and install everything under a private directory, run: make DESTDIR=~/obj install install-pywrap To install as the default system libraries and binaries (overwriting any previously installed ones - dangerous!), on x86_64, run: make LIBDIR=/usr/lib64 SHLIBDIR=/lib64 install install-pywrap relabel or on x86 (32-bit), run: make install install-pywrap relabel This may render your system unusable if the upstream SELinux userspace lacks library functions or other dependencies relied upon by your distribution. If it breaks, you get to keep both pieces.