Blob Blame History Raw
From ccbf333aebd4c0586347de5991b62a50928858b7 Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <bmr@redhat.com>
Date: Tue, 16 Dec 2014 15:28:33 +0000
Subject: [PATCH 31/93] [selinux] capture process SELinux domains

Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
 sos/plugins/selinux.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index c46e91a..c914a9b 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -28,7 +28,6 @@ class SELinux(Plugin, RedHatPlugin):
     packages = ('libselinux',)
 
     def setup(self):
-        # sestatus is always collected in check_enabled()
         self.add_copy_spec("/etc/selinux")
         self.add_cmd_output([
             "sestatus -b",
@@ -36,7 +35,8 @@ class SELinux(Plugin, RedHatPlugin):
             "selinuxdefcon root",
             "selinuxconlist root",
             "selinuxexeccon /bin/passwd",
-            "semanage -o -"
+            "semanage -o -",
+            "ps axuZww"
         ])
         if self.get_option('fixfiles'):
             self.add_cmd_output("fixfiles -v check")
-- 
1.9.3