Commit 4b11a144 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Blaster4385
Browse files

sdm710-common: sepolicy: Add policies for pasr client

Add SE policies for PSI client to be started by init, client
of PASR HAL and get vendor.pasr property values.

Change-Id: I06e68db6353628d2c6c44eab347540757b0353f2
parent f27a4017
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
/vendor/bin/hw/vendor\.qti\.memory\.pasrmanager\@1\.0-service                                           u:object_r:hal_pasrmanager_memory_qti_exec:s0
/vendor/bin/hw/vendor\.qti\.psiclient\@1\.0-service                                                     u:object_r:hal_psiservice_exec:s0

# Camera
/mnt/vendor/persist/camera(/.*)?                       u:object_r:vendor_persist_camera_file:s0
+12 −0
Original line number Diff line number Diff line
# Policy for PSI service
type hal_psiservice, domain;
type hal_psiservice_exec, exec_type, vendor_file_type, file_type;

# Started by init
init_daemon_domain(hal_psiservice)

# Allow PSI Service to be a client of PASR HAL
hal_client_domain(hal_psiservice, hal_pasrmanager_memory)

# For reading "vendor.pasr." properties
get_prop(hal_psiservice, vendor_pasr_prop)
 No newline at end of file