简体   繁体   中英

Fix Android SELinux rules

i'm trying to port android on a new device but getting logcat spammed with this error message:

avc: denied { ioctl } for pid=187 comm="Binder_2" path="socket:[10387]" dev="sockfs" ino=10387 ioctlcmd=7704 scontext=u:r:surfaceflinger:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=1

and

avc: denied { ioctl } for pid=589 comm="Binder_6" path="socket:[10879]" dev="sockfs" ino=10879 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=1

anyone help me to fix this please.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM