diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-01-12 10:08:54 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-04-23 15:58:37 +0100 |
commit | f72aaa6d190e9b6c941898c17faae883b414387b (patch) | |
tree | 7140070f53690b5e7953ea26fe7d51ace58aea99 /Makefile | |
parent | 26c45f41c527f1193aa4a12814d7d07f5505fe07 (diff) | |
download | sos-f72aaa6d190e9b6c941898c17faae883b414387b.tar.gz |
[selinux] Use semanage and only run if selinux is not disabled
Updates the selinux plugin to only run the builk of selinux commands if
selinux is not in a disabled state, as otherwise these commands do not
produce useful output. The output of sestatus is still collected even if
selinux is disabled so analysts still have a reference point for that
information.
Additionally, change to using semanage to collect the bulk of the data
given that that is the recommended practice. Collection of semanage list
output is now always collected, instead of being enabled by the 'list'
option.
Resolves: #1209
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions