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.000000000 +0800
+++ now/init.h  2009-03-11 14:29:32.000000000 +0800
@@ -136,14 +136,15 @@ struct service {
     struct socketinfo *sockets;
     struct svcenvinfo *envvars;

-    int nargs;
-    char *args[1];
     struct action onrestart;  /* Actions to execute on restart. */

     /* keycodes for triggering this service via /dev/keychord */
     int *keycodes;
     int nkeycodes;
     int keychord_id;
+
+    int nargs;
+    char *args[1] __attribute__ ((aligned (sizeof(char *))));
 };

 int parse_config_file(const char *fn);

Thanks.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to