Android SELinux errors in logcat

I keep getting these strange errors in my logcat. I not only do not know what they mean, but I do not know what causes them. They appear when my application starts.

> E/SELinux (8163): Function: selinux_android_load_priority [0], There
> is no sepolicy file  E/SELinux (8163): Function:
> selinux_android_load_priority [1], There is no sepolicy version file 
> E/SELinux (8163): selinux_android_seapp_context_reload: seapp_contexts
> file is loaded from /seapp_contexts

I have done many Google searches and cannot understand why my application generates them. It seems to be something security-oriented, which is strange since the application does nothing security-oriented.

The application I'm working on uses permissions to access gps, coarse and shallow, the Internet and network status, and finally recording to external storage.

To clarify my question, what do these errors mean?

+4
source share
2 answers

, , selinux Zygote .

Zygote apk, SELinux, . - . , . IIRC , , OEM- - .

libselinux, , :

https://android.googlesource.com/platform/external/libselinux/+/master/src/android.c

Exploring SE Android ( ). https://www.packtpub.com/networking-and-servers/exploring-se-android

+2

Titanium Appcelerator, , 2 . , eclipse , " " . , .

+1

Source: https://habr.com/ru/post/1532896/


All Articles