xref: /openbmc/openbmc/meta-security/recipes-security/redhat-security/files/selinux-check-devices.sh (revision eb8dc40360f0cfef56fb6947cc817a547d6d9bc6)
1*eb8dc403SDave Cobbley#!/bin/sh
2*eb8dc403SDave Cobbley
3*eb8dc403SDave Cobbley# This software may be freely redistributed under the terms of the GNU
4*eb8dc403SDave Cobbley# public license.
5*eb8dc403SDave Cobbley#
6*eb8dc403SDave Cobbley# You should have received a copy of the GNU General Public License
7*eb8dc403SDave Cobbley# along with this program; if not, write to the Free Software
8*eb8dc403SDave Cobbley# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
9*eb8dc403SDave Cobbley
10*eb8dc403SDave Cobbleyfind /dev -context *:device_t:* \( -type c -o -type b \) -printf "%p %Z\n"
11*eb8dc403SDave Cobbley
12*eb8dc403SDave Cobbley
13