From cf37f9ea952f4887bdf46cd78a7a00746e511427 Mon Sep 17 00:00:00 2001
From: Jeff Vander Stoep <jeffv@google.com>
Date: Fri, 25 Mar 2016 07:52:22 -0700
Subject: [PATCH] sysfs_uio: declare type in core policy

(cherry picked from commit f2d07904f7754a066c7e15a072cf57126ff348d3)

/dev/uio uio_device is already declared. Accessing uio through /sys
is also common.

Bug: 26990688
Change-Id: I3db941161dae31d3b87f265708abbcd9171a2c1f
---
 file.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/file.te b/file.te
index db8b14032..983238699 100644
--- a/file.te
+++ b/file.te
@@ -22,6 +22,7 @@ type proc_uid_cputime_removeuid, fs_type;
 type selinuxfs, fs_type, mlstrustedobject;
 type cgroup, fs_type, mlstrustedobject;
 type sysfs, fs_type, sysfs_type, mlstrustedobject;
+type sysfs_uio, sysfs_type, fs_type;
 type sysfs_writable, fs_type, sysfs_type, mlstrustedobject;
 type sysfs_batteryinfo, fs_type, sysfs_type;
 type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
-- 
GitLab