OSDN Git Service

su daemon fixes:
authorKoushik Dutta <koushd@gmail.com>
Thu, 21 Nov 2013 17:19:47 +0000 (09:19 -0800)
committerKoushik Dutta <koushd@gmail.com>
Thu, 21 Nov 2013 17:27:46 +0000 (09:27 -0800)
commit8829fc390b0d52940414eb803482a135ade0374a
tree2d08458d907875b9adec03c3cbb07b0cc631a347
parente45c65c0e57ad310e7e5b6a7bb91369104767b3e
su daemon fixes:

Do not require a client connection unless actually necessary.
Only use the client on initial invocation of main(), and not from
invocation of run_daemon_client, which may recursively call
main via another client on API 19.

Change-Id: I136f9a3b829bf0a4f5335a83412cc3a8cd512856
Superuser/AndroidManifest.xml
Superuser/jni/su/daemon.c
Superuser/jni/su/su.c
Superuser/jni/su/su.h