From 85754e0e6f09a63d82a604df76237a52b2c30ce3 Mon Sep 17 00:00:00 2001
From: Chenyang Zhong <zhongcy95@gmail.com>
Date: Mon, 8 Nov 2021 02:03:44 -0500
Subject: [PATCH] beckham: sepolicy: Add mlstrustedsubject attribute to
 mods_app

This ensures that mods_app has the proper permission to access
/data/user_de/0/com.motorola.modservice/

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com
Change-Id: Ie8caef2171dcdc02f160d0de545906e21085547c
---
 sepolicy-mods/private/mods_app.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sepolicy-mods/private/mods_app.te b/sepolicy-mods/private/mods_app.te
index d641e9f..c01374e 100644
--- a/sepolicy-mods/private/mods_app.te
+++ b/sepolicy-mods/private/mods_app.te
@@ -1,5 +1,6 @@
 # ModService
 typeattribute mods_app coredomain;
+typeattribute mods_app mlstrustedsubject;
 
 app_domain(mods_app)
 net_domain(mods_app)
-- 
GitLab