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

690 views
Skip to first unread message

Kishore Srinivas

unread,
Oct 27, 2020, 4:49:22 PM10/27/20
to android-porting
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? 
Reply all
Reply to author
Forward
0 new messages