summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh')
-rw-r--r--meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh b/meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh
new file mode 100644
index 000000000..ef996d787
--- /dev/null
+++ b/meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This software may be freely redistributed under the terms of the GNU
+# public license.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+find /dev -context *:device_t:* \( -type c -o -type b \) -printf "%p %Z\n"
+
+
OpenPOWER on IntegriCloud