Pierre-Hugues Husson | 5d5d68a | 2018-10-02 16:41:21 +0200 | [diff] [blame^] | 1 | From 837973ddf1da4d9dd83b21071c59401362a0e745 Mon Sep 17 00:00:00 2001 |
Jon West | 013ef58 | 2018-08-21 20:45:26 -0400 | [diff] [blame] | 2 | From: Pierre-Hugues Husson <phh@phh.me> |
| 3 | Date: Wed, 15 Aug 2018 12:27:21 +0200 |
| 4 | Subject: [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 | |
| 11 | diff --git a/prebuilts/api/28.0/private/domain.te b/prebuilts/api/28.0/private/domain.te |
| 12 | index 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 | |
| 23 | diff --git a/private/domain.te b/private/domain.te |
| 24 | index 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 | -- |
| 36 | 2.7.4 |
| 37 | |