From c7125fa23072e2ff31e10b3327da81ee1ab3e447 Mon Sep 17 00:00:00 2001
From: Dimitry Ivanov <dimitry@google.com>
Date: Thu, 10 Nov 2016 13:08:42 -0800
Subject: [PATCH] Allow getattr on rootfs:lnk_file for all domains

Bug: http://b/32123312
Test: mm && boot
Change-Id: I6550fbe2bd5f9f5a474419b483b0f786d4025e88
---
 public/domain.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/domain.te b/public/domain.te
index 8bdd54804..e2ffb88f6 100644
--- a/public/domain.te
+++ b/public/domain.te
@@ -55,7 +55,7 @@ userdebug_or_eng(`
 
 # Root fs.
 allow domain rootfs:dir search;
-allow domain rootfs:lnk_file read;
+allow domain rootfs:lnk_file { read getattr };
 
 # Device accesses.
 allow domain device:dir search;
-- 
GitLab