Comment #3 on issue 329 by [email protected]: Unable to sanitize
system_server on android
http://code.google.com/p/address-sanitizer/issues/detail?id=329
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
Attachments:
asan_system_server_permissive.log 112 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.