summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2020-12-29 14:06:58 +0100
committerArian <arian.kulmer@web.de>2021-04-05 13:53:21 +0200
commit9e1deca41a051779ebf607ae41731e52b7fa16c7 (patch)
tree9657e41b3c75f038ae71e72dad928ec79af3776c
parent8eafdd86e7b6dffdfaf21d25219d27b86835d95e (diff)
shinano-common: sepolicy: Update labels
* The default label in /data/ folders is system_data_root_folder now * ro.bt.bdaddr_path is labelled as exported_bluetooth_prop now Change-Id: Ifb689a1ffe0ee475790d75e4c8d69b01a82601e1
-rw-r--r--sepolicy/brcm_uim.te2
-rw-r--r--sepolicy/credmgrd.te2
2 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/brcm_uim.te b/sepolicy/brcm_uim.te
index dbb84c4..5c6538f 100644
--- a/sepolicy/brcm_uim.te
+++ b/sepolicy/brcm_uim.te
@@ -7,4 +7,4 @@ allow brcm_uim sysfs_bluetooth_writable:file rw_file_perms;
allow brcm_uim serial_device:chr_file rw_file_perms;
allow brcm_uim self:capability net_admin;
-get_prop(brcm_uim, bluetooth_prop)
+get_prop(brcm_uim, exported_bluetooth_prop)
diff --git a/sepolicy/credmgrd.te b/sepolicy/credmgrd.te
index 5d185e2..2b61930 100644
--- a/sepolicy/credmgrd.te
+++ b/sepolicy/credmgrd.te
@@ -14,7 +14,7 @@ allow credmgrd cache_file:dir create_dir_perms;
allow credmgrd cache_file:file create_file_perms;
# Needed to create /data/credmgr
-allow credmgrd system_data_file:dir { create_dir_perms relabelfrom };
+allow credmgrd system_data_root_file:dir { create_dir_perms relabelfrom };
allow credmgrd credmgrd_data_file:dir { create_dir_perms relabelto };
allow credmgrd credmgrd_data_file:file create_file_perms;