selinux/python
Nicolas Iooss 4ac069a3ee python/audit2allow: make the tests useful again
audit2allow testsuite requires a system which uses SELinux with a MLS
policy. This is a lot to ask for a continuous integretation system.
Thankfully this can be worked around by using option -p to run the tools
with a specific configuration. Doing this, the testsuite can even be run
on a system without SELinux.

This approach requires building a custom policy for parsing test.log.
Add a minimal policy written in CIL for this need.

While at it:
* Do not invoke "sudo sepolgen-ifgen" but produce a file in a writable
  directory (instead of /var/lib/sepolgen/interface_info)
* Use sys.executable instead of 'python', in order to really test
  python3 and python2 when calling the test script with one of these
  interpreters.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2019-01-08 10:15:46 +01:00
..
audit2allow python/audit2allow: make the tests useful again 2019-01-08 10:15:46 +01:00
chcat python/chcat: fix removing categories on users with Fedora default setup 2018-12-11 12:39:09 +01:00
semanage python/semanage: explain why sepolicy is imported in a function 2019-01-07 12:50:45 +01:00
sepolgen python/sepolgen: close /etc/selinux/sepolgen.conf after parsing it 2019-01-07 12:50:45 +01:00
sepolicy python/sepolicy: Make policy files sorting more robust 2019-01-05 14:50:16 +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