From 4bc2f864dfe7012e75fad6106b4d9e47f98fa87c Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Mon, 30 Mar 2020 23:50:57 +0200 Subject: [PATCH] Fix pm install through a file provided by su See https://github.com/phhusson/treble_experimentations/issues/1214 --- sepolicy/su.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sepolicy/su.te b/sepolicy/su.te index 800aaaa..fb4ca43 100644 --- a/sepolicy/su.te +++ b/sepolicy/su.te @@ -30,7 +30,7 @@ typeattribute su mlstrustedsubject; allow phhsu_daemon { system_api_service app_api_service system_server_service }:service_manager find; -allow system_server phhsu_daemon:fifo_file { read write }; +allow system_server phhsu_daemon:fifo_file { read write getattr }; allow system_server phhsu_daemon:fd use; allow system_server phhsu_daemon:binder { call transfer }; allow system_server shell_devpts:chr_file { read write };