selinux/python
Petr Lautrbach 2d825c616d
python/semanage: Load a store policy and set the store SELinux policy root
When "store" is set, sepolicy needs to load a new policy file and selinux module
needs to set the new store root path.

With this patch, semanage is able to work correctly with non-default -S <store>
even when the default policy is not installed yet.

Fixes:
$ sudo semanage login -S minimum -m -s unconfined_u -r s0-s0:c0.c1023 __default__
libsemanage.dbase_llist_query: could not query record value
OSError: [Errno 0] Error

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1558861

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
2019-01-05 14:49:46 +01:00
..
audit2allow python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
chcat python/chcat: fix removing categories on users with Fedora default setup 2018-12-11 12:39:09 +01:00
semanage python/semanage: Load a store policy and set the store SELinux policy root 2019-01-05 14:49:46 +01:00
sepolgen python/sepolgen: upgrade ply to release 3.11 2019-01-04 13:52:09 +01:00
sepolicy python/sepolicy: Add sepolicy.load_store_policy(store) 2019-01-05 14:49:17 +01:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
VERSION Update VERSIONs to 2.8 for release. 2018-05-24 14:21:09 -04:00