aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormosimchah <mosimchah@gmail.com>2022-05-03 14:39:43 +0200
committermosimchah <mosimchah@gmail.com>2022-05-03 19:03:19 -0400
commit3a2239a7fb383d8552863cc6c39c8e6e823534fd (patch)
treedcde6b34d8bd0451f6767ede51ecbe31f99db4b6
parent4f648578e4517bee18bd0e4ec813b31f653c2299 (diff)
zl1: sepolicy build fixesHEADs12.1
Change-Id: Idc59834c326d878ba5f85982fd61a776ad2c8ee9
-rw-r--r--sepolicy/vendor/gx_fpd.te6
-rw-r--r--sepolicy/vendor/hal_fingerprint_zl1.te6
2 files changed, 8 insertions, 4 deletions
diff --git a/sepolicy/vendor/gx_fpd.te b/sepolicy/vendor/gx_fpd.te
index f27a0f5..a291e24 100644
--- a/sepolicy/vendor/gx_fpd.te
+++ b/sepolicy/vendor/gx_fpd.te
@@ -1,4 +1,6 @@
-type gx_fpd, domain, binder_in_vendor_violators;
+#type gx_fpd, domain, binder_in_vendor_violators;
+#temp
+type gx_fpd, domain;
type gx_fpd_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(gx_fpd)
@@ -6,7 +8,7 @@ init_daemon_domain(gx_fpd)
binder_use(gx_fpd)
binder_call(gx_fpd, hal_fingerprint_zl1)
-typeattribute gx_fpd data_between_core_and_vendor_violators;
+#typeattribute gx_fpd data_between_core_and_vendor_violators;
allow gx_fpd gx_fpd_data_file:dir create_dir_perms;
allow gx_fpd gx_fpd_data_file:file create_file_perms;
diff --git a/sepolicy/vendor/hal_fingerprint_zl1.te b/sepolicy/vendor/hal_fingerprint_zl1.te
index de4eb89..bfd51fa 100644
--- a/sepolicy/vendor/hal_fingerprint_zl1.te
+++ b/sepolicy/vendor/hal_fingerprint_zl1.te
@@ -1,4 +1,6 @@
-type hal_fingerprint_zl1, domain, binder_in_vendor_violators;
+#type hal_fingerprint_zl1, domain, binder_in_vendor_violators;
+#temp
+type hal_fingerprint_zl1, domain;
hal_server_domain(hal_fingerprint_zl1, hal_fingerprint)
type hal_fingerprint_zl1_exec, exec_type, vendor_file_type, file_type;
@@ -19,7 +21,7 @@ allow hal_fingerprint_zl1 tee_device:chr_file { rw_file_perms };
allow hal_fingerprint_zl1 uhid_device:chr_file { rw_file_perms };
# /data/system/users/0/fpdata
-typeattribute hal_fingerprint_zl1 data_between_core_and_vendor_violators;
+#typeattribute hal_fingerprint_zl1 data_between_core_and_vendor_violators;
allow hal_fingerprint_zl1 fingerprintd_data_file:dir { rw_dir_perms };
allow hal_fingerprint_zl1 fingerprintd_data_file:file { create_file_perms };