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

sdm845-common: sepolicy: Allow sysfs r_dir_perms for pasr hal and clients

Allow sysfs read directory permissions for pasr hal and clients.

Change-Id: I0ad118e0258e9d00bd0b43ba543111a1603e6388
parent 09a2c3e8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,5 +21,8 @@ allow hal_pasrmanager_memory_qti proc_zoneinfo:file r_file_perms;
# Read /proc/meminfo
allow hal_pasrmanager_memory_qti proc_meminfo:file r_file_perms;

# Read sysfs directories
allow hal_pasrmanager_memory_qti sysfs:dir r_dir_perms;

# For reading "vendor.pasr." properties
get_prop(hal_pasrmanager_memory_qti, vendor_pasr_prop)
 No newline at end of file
+3 −0
Original line number Diff line number Diff line
@@ -20,5 +20,8 @@ allow hal_psiservice proc_vmstat:file r_file_perms;
# Read/Write /proc/pressure/memory
allow hal_psiservice proc_pressure_mem:file rw_file_perms;

# Read sysfs directories
allow hal_psiservice sysfs:dir r_dir_perms;

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