From 1f5939a97647bb71414588be8f26114773edceaf Mon Sep 17 00:00:00 2001
From: Stephen Smalley <sds@tycho.nsa.gov>
Date: Thu, 31 Jan 2013 14:39:58 -0500
Subject: [PATCH] Allow search of tmpfs mount for /storage/emulated.

Change-Id: Ie79ff3fb9c0a893e348c4adb2f457cae42d7800f
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
---
 domain.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/domain.te b/domain.te
index 439bde70b..704c9a22b 100644
--- a/domain.te
+++ b/domain.te
@@ -7,6 +7,9 @@ allow domain init:process sigchld;
 allow domain kernel:fd use;
 allow domain tmpfs:file { read getattr };
 
+# Search /storage/emulated tmpfs mount.
+allow domain tmpfs:dir r_dir_perms;
+
 # binder adjusts the nice value during IPC.
 allow domain self:capability sys_nice;
 
-- 
GitLab