Blame SOURCES/0031-selinux-capture-process-SELinux-domains.patch
|
|
0cd6dc |
From ccbf333aebd4c0586347de5991b62a50928858b7 Mon Sep 17 00:00:00 2001
|
|
|
0cd6dc |
From: "Bryn M. Reeves" <bmr@redhat.com>
|
|
|
0cd6dc |
Date: Tue, 16 Dec 2014 15:28:33 +0000
|
|
|
0cd6dc |
Subject: [PATCH 31/93] [selinux] capture process SELinux domains
|
|
|
0cd6dc |
|
|
|
0cd6dc |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
0cd6dc |
---
|
|
|
0cd6dc |
sos/plugins/selinux.py | 4 ++--
|
|
|
0cd6dc |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
0cd6dc |
|
|
|
0cd6dc |
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
|
|
|
0cd6dc |
index c46e91a..c914a9b 100644
|
|
|
0cd6dc |
--- a/sos/plugins/selinux.py
|
|
|
0cd6dc |
+++ b/sos/plugins/selinux.py
|
|
|
0cd6dc |
@@ -28,7 +28,6 @@ class SELinux(Plugin, RedHatPlugin):
|
|
|
0cd6dc |
packages = ('libselinux',)
|
|
|
0cd6dc |
|
|
|
0cd6dc |
def setup(self):
|
|
|
0cd6dc |
- # sestatus is always collected in check_enabled()
|
|
|
0cd6dc |
self.add_copy_spec("/etc/selinux")
|
|
|
0cd6dc |
self.add_cmd_output([
|
|
|
0cd6dc |
"sestatus -b",
|
|
|
0cd6dc |
@@ -36,7 +35,8 @@ class SELinux(Plugin, RedHatPlugin):
|
|
|
0cd6dc |
"selinuxdefcon root",
|
|
|
0cd6dc |
"selinuxconlist root",
|
|
|
0cd6dc |
"selinuxexeccon /bin/passwd",
|
|
|
0cd6dc |
- "semanage -o -"
|
|
|
0cd6dc |
+ "semanage -o -",
|
|
|
0cd6dc |
+ "ps axuZww"
|
|
|
0cd6dc |
])
|
|
|
0cd6dc |
if self.get_option('fixfiles'):
|
|
|
0cd6dc |
self.add_cmd_output("fixfiles -v check")
|
|
|
0cd6dc |
--
|
|
|
0cd6dc |
1.9.3
|
|
|
0cd6dc |
|