common: sepolicy: legacy: Fix more pasr memory denials
01-04 05:26:11.303 W/.pasr (3079): type=1400 audit(0.0:179): avc: denied { read } for name="u:object_r:vendor_pasr_prop:s0" dev="tmpfs" ino=15696 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:vendor_pasr_prop:s0 tclass=file permissive=0 app=com.qti.pasrservice 01-04 05:26:20.209 E/SELinux (443): avc: denied { find } for interface=vendor.qti.memory.pasrmanager::IPasrManager sid=u:r:hal_pasrmanager_memory_qti:s0 pid=6570 scontext=u:r:hal_pasrmanager_memory_qti:s0 tcontext=u:object_r:hal_pasrmanager_memory_hwservice:s0 tclass=hwservice_manager permissive=0 01-04 08:16:59.438 E/SELinux (443): avc: denied { add } for interface=android.hidl.base::IBase sid=u:r:hal_pasrmanager_memory_qti:s0 pid=4636 scontext=u:r:hal_pasrmanager_memory_qti:s0 tcontext=u:object_r:hidl_base_hwservice:s0 tclass=hwservice_manager permissive=0 Change-Id: I3633de8c2775e60f78c44a0cea3c9416f7506c9a Signed-off-by: Jprimero15 <jprimero155@gmail.com>
This commit is contained in:
parent
4f8b5049cb
commit
d6dabf22d9
|
@ -47,6 +47,7 @@ binder_call(hal_pasrmanager_memory_client, hal_pasrmanager_memory_server)
|
|||
# Add pasrmanager to hwservice_manager and allow it to be discovered
|
||||
#hal_attribute_hwservice(hal_pasrmanager_memory, hal_pasrmanager_memory_hwservice)
|
||||
|
||||
add_hwservice(hal_pasrmanager_memory_qti, hal_pasrmanager_memory_hwservice)
|
||||
add_hwservice(hal_pasrmanager_server, hal_pasrmanager_hwservice)
|
||||
allow hal_pasrmanager_client hal_pasrmanager_hwservice:hwservice_manager find;
|
||||
|
||||
|
|
|
@ -72,4 +72,5 @@ hal_client_domain(platform_app, hal_btconfigstore);
|
|||
get_prop(platform_app, audio_config_prop)
|
||||
get_prop(platform_app, vendor_display_notch_prop)
|
||||
get_prop(platform_app, build_bootimage_prop)
|
||||
get_prop(platform_app, vendor_pasr_prop)
|
||||
allow platform_app cgroup:file w_file_perms;
|
||||
|
|
Loading…
Reference in New Issue