aospa: sepolicy: Add policies for Pocked Judge
Change-Id: I837baa51f68f00009651e8c8477b0cdf49afabf7
This commit is contained in:
parent
5683798d6d
commit
5c4eced731
|
@ -0,0 +1,2 @@
|
|||
# Pocket Judge
|
||||
type pocket_judge_sysfs, fs_type, sysfs_type;
|
|
@ -1,2 +1,5 @@
|
|||
# FOD
|
||||
/(system|system_ext|system/system_ext)/bin/hw/vendor.aospa.biometrics.fingerprint.inscreen@1.0-service u:object_r:vendor_fod_aospa_exec:s0
|
||||
|
||||
# Pocket Judge
|
||||
/sys/kernel/pocket_judge(/.*)? u:object_r:pocket_judge_sysfs:s0
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
# Pocket Judge
|
||||
type pocket_service, system_api_service, system_server_service, service_manager_type;
|
|
@ -1,2 +1,5 @@
|
|||
# AOSPA Power HAL
|
||||
vendor.aospa.power.IPowerFeature/default u:object_r:hal_power_service:s0
|
||||
|
||||
# Pocket Judge
|
||||
pocket u:object_r:pocket_service:s0
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
# FOD
|
||||
hal_client_domain(system_server, vendor_fod)
|
||||
|
||||
# Pocket Judge
|
||||
allow system_server pocket_judge_sysfs:dir search;
|
||||
allow system_server pocket_judge_sysfs:file rw_file_perms;
|
||||
allow system_server pocket_service:service_manager { add find };
|
||||
|
|
Loading…
Reference in New Issue