From 6d71aabb6982f512fdd7c3dce16107f57a88ba73 Mon Sep 17 00:00:00 2001 From: mtk10871 Date: Sat, 18 Jan 2020 10:19:50 +0800 Subject: [PATCH] [ALPS04690934] BT feature: log in data area [Detail] Log is available to store in data area. Change api for setting corresponding permission. MTK-Commit-Id: 00be41e217b22f187a664d5d51cb18d52bc63635 Change-Id: I69c0869067e8f815c0f41930248b1c0e2c7f6358 CR-Id: ALPS04690934 Feature: BT AOSP (cherry picked from commit e7396905545c154bc2ff6e76b4fa117ddbca0bb9) --- plat_private/bluetooth.te | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plat_private/bluetooth.te b/plat_private/bluetooth.te index dd16c15..be0d56a 100644 --- a/plat_private/bluetooth.te +++ b/plat_private/bluetooth.te @@ -34,3 +34,9 @@ allow bluetooth vfat:file create_file_perms; allow bluetooth storage_file:dir { create_dir_perms }; allow bluetooth tmpfs:lnk_file read; allow bluetooth storage_file:file { create_file_perms }; + +# Date: 2019/06/20 +# Add dir create perms for bluetooth on /data/debuglogger +#{ read write create search open getattr }; +allow bluetooth debuglog_data_file:dir {relabelto create_dir_perms}; +allow bluetooth debuglog_data_file:file create_file_perms;