See the second patch for motivation. Passed Travis: https://travis-ci.org/WOnder93/selinux/builds/646845127 Ondrej Mosnacek (2): libsemanage: support changing policy version via API semodule: support changing policyvers via command line libsemanage/include/semanage/handle.h | 6 +++ libsemanage/src/direct_api.c | 9 ++++- libsemanage/src/handle.c | 24 ++++++++++++ libsemanage/src/handle.h | 1 + libsemanage/src/libsemanage.map | 6 +++ libsemanage/src/semanage_store.c | 54 ++++++++++++++++----------- libsemanage/src/semanage_store.h | 6 ++- policycoreutils/semodule/semodule.8 | 3 ++ policycoreutils/semodule/semodule.c | 12 +++++- 9 files changed, 95 insertions(+), 26 deletions(-) -- 2.24.1