[Custom Android] SELinux permission denial after update from Android L to Android P

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Custom Android] SELinux permission denial after update from Android L to Android P

Kishore Srinivas
Facing this denial, this only happens in few devices, looks like restorecon failed to label correctly in some devices. is this a known issue? 

Denial log: 

audit(0.0:129300): avc: denied { open } for comm=4173796E635461736B202332 path="/data/data/com.amazon.firelauncher/databases" dev="mmcblk0p16" ino=340104 scontext=u:r:amazon_app:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0

The Source context (in Android P ) is u:r:amazon_app:s0 and target context (Carried over from Android L) is u:object_r:app_data_file:s0:c512,c768

Under normal OTA process the target context is updated correctly (Android P) to u:object_r:app_data_file:s0 

is there a workaround to fix this issue? 

--
--
unsubscribe: [hidden email]
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-porting/a9eca8e8-6f9c-4db8-a7eb-169446402a04n%40googlegroups.com.