Open GoogleCodeExporter opened 9 years ago
Original comment by konstant...@gmail.com
on 1 Aug 2014 at 8:14
Try adb shell setenforce 0
Original comment by euge...@google.com
on 1 Aug 2014 at 8:15
Hi Eugenis,
Here is my command to try setenforce, but the system server still cannot be
started
$ adb logcat -c
$ adb shell setprop wrap.system_server "logwrapper asanwrapper"
$ adb shell stop
$ adb shell setenforce 0
$ adb shell start
$ adb logcat -v threadtime > asan_system_server_permissive.log
[asan_system_server_permissive.log]
08-18 06:41:35.711 2993 2993 I Zygote : System server process 3465 has been
created
08-18 06:41:35.780 2993 2993 I Zygote : Accepting command socket connections
08-18 06:41:35.902 3465 3465 I system_server: type=1400 audit(0.0:5): avc:
denied { execute } for name="sh" dev="mtdblock0" ino=238
scontext=u:r:system_server:s0 tcontext=u:object_r:shell_exec:s0 tclass=file
permissive=1
08-18 06:41:35.912 3465 3465 I system_server: type=1400 audit(0.0:6): avc:
denied { read open } for name="sh" dev="mtdblock0" ino=238
scontext=u:r:system_server:s0 tcontext=u:object_r:shell_exec:s0 tclass=file
permissive=1
08-18 06:41:35.912 3465 3465 I system_server: type=1400 audit(0.0:7): avc:
denied { execute_no_trans } for path="/system/bin/sh" dev="mtdblock0" ino=238
scontext=u:r:system_server:s0 tcontext=u:object_r:shell_exec:s0 tclass=file
permissive=1
08-18 06:41:36.166 3487 3487 E logwrapper: executing asanwrapp failed:
Permission denied
08-18 06:41:36.168 3484 3484 I asanwrapp: executing asanwrapp failed:
Permission denied
08-18 06:41:36.169 3484 3484 I asanwrapp: asanwrapp terminated by exit(255)
08-18 06:41:36.187 2993 2993 I Zygote : Process 3465 exited cleanly (255)
08-18 06:41:36.187 2993 2993 E Zygote : Exit zygote because system server
(3465) has terminated
Original comment by tony.ys_...@htc.com
on 18 Aug 2014 at 6:56
Attachments:
Original issue reported on code.google.com by
tony.ys_...@htc.com
on 1 Aug 2014 at 6:51Attachments: