platform_external_selinux/libsemanage
Steve Lawrence d5bcc2285f libsemanage: update install functions to support CIL
With CIL, the filename and language extension are no longer stored in
the modules themselves like with pp files. So parse this information
from the filename when given a file to install, and require the
information be passed when just data. Symbolic versioning is used to
maintain ABI compatability with the old install functions. API
compatability is not maintained.

Also, remove version from the module info struct and the
semanage_module_info_{get,set}_version functions. These functions have
not been part of an official release, so removing them without providing
ABI/API compatability should not break anything.

Because versioning is removed, semanage_module_upgrade can no longer
perform the necessary checks to ensure an old module is not overriding
a newer module. So, this just remove the upgrade functions from the API.
Functions are added to maintain ABI compatability, which call the
install functions.

Also, CIL has no concept of a base module, so remove the notion of a
base module, including the API functions semanage_module_base_install
and related functions. To maintain ABI compatability, functions are
added which call the new install functions, thus treating base modules
as if they are normal modules.

Signed-off-by: Steve Lawrence <slawrence@tresys.com>
Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
2014-08-26 08:02:16 -04:00
..
example Author: Daniel J Walsh 2008-09-15 09:25:33 -04:00
include libsemanage: update install functions to support CIL 2014-08-26 08:02:16 -04:00
man libsemanage: add target-platform option to semanage.conf 2014-08-26 08:02:16 -04:00
src libsemanage: update install functions to support CIL 2014-08-26 08:02:16 -04:00
tests libsemanage: update unit tests for move to /var/lib/selinux 2014-08-26 08:02:16 -04:00
.gitignore Add subdirectory .gitignore files. 2009-10-20 21:25:55 -04:00
ChangeLog Bump version and update ChangeLog for release. 2014-05-06 13:30:27 -04:00
COPYING initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: libsemanage: remove build warning when build swig c files 2012-06-28 11:21:16 -04:00
VERSION Bump version and update ChangeLog for release. 2014-05-06 13:30:27 -04:00