sepolicy: qti: Move proc_horae to vendor

This fixes booting AOSP GSIs.

Fixes: 8acb73ff6a ("sepolicy: qti: Add support for horae service")
Change-Id: Ica812bb31d6c60b4ec5f6837de7712bd0c275543
This commit is contained in:
dianlujitao
2025-09-07 15:29:03 +08:00
parent 8ae5447fc5
commit 7a643a4105
7 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,6 @@
(typeattributeset new_objects
( new_objects
horae
proc_horae
system_fingerprint_prop
system_oplus_iris_prop
system_oplus_project_prop

View File

@@ -15,5 +15,3 @@ allow horae horae_service:service_manager find;
allow horae osense_service:service_manager find;
allow horae surfaceflinger_service:service_manager find;
allow horae thermal_service:service_manager find;
rw_dir_file(horae, proc_horae)

View File

@@ -1,5 +1,2 @@
# Engineering
type vendor_persist_engineer_file, file_type;
# Horae
type proc_horae, fs_type, proc_type;

View File

@@ -1,2 +0,0 @@
# Horae
genfscon proc /shell-temp u:object_r:proc_horae:s0

View File

@@ -24,6 +24,9 @@ type vendor_proc_fingerprint, fs_type, proc_type;
# Graphics
type vendor_sysfs_sde_crtc, fs_type, sysfs_type;
# Horae
type proc_horae, fs_type, proc_type;
# Input
type proc_bus_input, fs_type, proc_type;

View File

@@ -43,6 +43,9 @@ genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-0/
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-1/early_wakeup u:object_r:vendor_sysfs_sde_crtc:s0
genfscon sysfs /devices/platform/soc/ae00000.qcom,mdss_mdp/drm/card0/sde-crtc-2/early_wakeup u:object_r:vendor_sysfs_sde_crtc:s0
# Horae
genfscon proc /shell-temp u:object_r:proc_horae:s0
# Multimedia feedback
genfscon proc /mm_fb u:object_r:vendor_proc_mm_fb:s0

View File

@@ -1,3 +1,4 @@
hal_client_domain(horae, vendor_hal_oplus_charger)
r_dir_file(horae, vendor_proc_oplus_version)
rw_dir_file(horae, proc_horae)