From 4df0d58596a0aed961400607cec38f5ec991de03 Mon Sep 17 00:00:00 2001 From: Enzo Liao Date: Tue, 14 Feb 2023 21:14:03 +0800 Subject: [PATCH] SSRestarDetector: modify the SELinux policy to allow access files owned by system for Zuma. It needs to access a file pushed by hosts of test suites (details: http://go/pd-client-for-lab#heading=h.wtp07hbqvwgx) Bug: 234359369 Design: http://go/pd-client-for-lab Test: Manual Change-Id: Ib82aec1b6eeacbf1b1595009f68827cb9b5c22ba --- radio/ssr_detector.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/ssr_detector.te b/radio/ssr_detector.te index 60ec1bb5..2caf6d77 100644 --- a/radio/ssr_detector.te +++ b/radio/ssr_detector.te @@ -4,7 +4,8 @@ app_domain(ssr_detector_app) allow ssr_detector_app app_api_service:service_manager find; allow ssr_detector_app radio_service:service_manager find; -allow ssr_detector_app system_app_data_file:dir r_dir_perms; +allow ssr_detector_app system_app_data_file:dir create_dir_perms; +allow ssr_detector_app system_app_data_file:file create_file_perms; allow ssr_detector_app sscoredump_vendor_data_crashinfo_file:dir r_dir_perms; allow ssr_detector_app sscoredump_vendor_data_crashinfo_file:file r_file_perms;