blob: a073c9abb07d105663b52e1dc7022c29bd681e5d [file] [log] [blame]
Pierre-Hugues Husson5d5d68a2018-10-02 16:41:21 +02001From 837973ddf1da4d9dd83b21071c59401362a0e745 Mon Sep 17 00:00:00 2001
Jon West013ef582018-08-21 20:45:26 -04002From: Pierre-Hugues Husson <phh@phh.me>
3Date: Wed, 15 Aug 2018 12:27:21 +0200
4Subject: [PATCH 2/2] Relax /proc read from ueventd, huawei needs it
5
6---
7 prebuilts/api/28.0/private/domain.te | 1 +
8 private/domain.te | 1 +
9 2 files changed, 2 insertions(+)
10
11diff --git a/prebuilts/api/28.0/private/domain.te b/prebuilts/api/28.0/private/domain.te
12index fb6ba4f..95f0dbc 100644
13--- a/prebuilts/api/28.0/private/domain.te
14+++ b/prebuilts/api/28.0/private/domain.te
15@@ -32,6 +32,7 @@ full_treble_only(`
16 # /proc
17 neverallow {
18 coredomain
19+ -ueventd
20 -vold
21 } proc:file no_rw_file_perms;
22
23diff --git a/private/domain.te b/private/domain.te
24index fb6ba4f..95f0dbc 100644
25--- a/private/domain.te
26+++ b/private/domain.te
27@@ -32,6 +32,7 @@ full_treble_only(`
28 # /proc
29 neverallow {
30 coredomain
31+ -ueventd
32 -vold
33 } proc:file no_rw_file_perms;
34
35--
362.7.4
37