From 20fb78662bec1cb41debe4f98a343f3f88ee0442 Mon Sep 17 00:00:00 2001
From: dcashman <dcashman@google.com>
Date: Wed, 13 Jan 2016 09:02:36 -0800
Subject: [PATCH] Allow shell to read sysfs dirs.

Bug: 26219114
Change-Id: I300899d610258704eb2d45488700eadb7a686606
---
 shell.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shell.te b/shell.te
index cb2bcbe83..55757b043 100644
--- a/shell.te
+++ b/shell.te
@@ -121,6 +121,7 @@ allow shell self:process ptrace;
 
 # allow shell to get battery info
 allow shell sysfs_batteryinfo:file r_file_perms;
+allow shell sysfs:dir r_dir_perms;
 
 # Allow access to ion memory allocation device.
 allow shell ion_device:chr_file rw_file_perms;
-- 
GitLab