svc->onrestart.name = "onrestart";
list_init(&svc->onrestart.commands);
list_add_tail(&service_list, &svc->slist);
return svc;
}
the memcpy(svc->args, args + 2, sizeof(char*) * nargs); is used the struct
svc->onrestart
memory.
so while the nargs
Deer all:
I think my patch can fix this problem.
diff -uprN original/init.h now/init.h
--- original/init.h 2009-03-11 14:27:20.0 +0800
+++ now/init.h 2009-03-11 14:29:32.0 +0800
@@ -136,14 +136,15 @@ struct service {
struct socketinfo *sockets;
struct svcenvinfo *en
hi all,
I found a bug at android platform.
*Please describe the problem in as much detail as possible. Be sure
to include:*
*- Steps to reproduce the problem*
1 .
modify init.hardware.rc (hardware is your platform hardware, such
init.goldfish.rc)
change
service logcat /system/bin/logcat -r 1000
3 matches
Mail list logo