selinux/python
Vit Mojzis ed51e23f15 sepolgen: strip non-printable characters when parsing audit messages
Strip the following characters
\x1c	File Separator
\x1d	Group Separator
\x1e	Record Separator
\x85	Next Line (C1 Control Code)
from audit message fields to make sure they are not evaluated
as part of some identifier (eg. ausearch used insert \x1d into
--raw output resulting in "unrecognized class" error messages).

This is done as part of str.split() in python3.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1406328
2017-02-21 13:43:09 -05:00
..
audit2allow Re-link programs after libsepol.a is updated 2017-01-18 16:41:34 -05:00
chcat Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
semanage semanage, sepolicy: make tests not fail on systems without SELinux 2017-01-17 16:48:46 -05:00
sepolgen sepolgen: strip non-printable characters when parsing audit messages 2017-02-21 13:43:09 -05:00
sepolicy semanage, sepolicy: make tests not fail on systems without SELinux 2017-01-17 16:48:46 -05: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 Add VERSION files for new components 2016-11-16 11:19:51 -05:00