summaryrefslogtreecommitdiffstats
path: root/init/init.h
diff options
context:
space:
mode:
authorPaul Eastham <eastham@google.com>2010-12-04 17:29:31 -0800
committerPaul Eastham <eastham@google.com>2010-12-04 17:39:26 -0800
commit50b3afd9f39619f69dc6f4efc29be88933eb3614 (patch)
tree3b60bfb8f1850877c918b41adaa095652de3dcd9 /init/init.h
parent7e06476f6daf75946d93972e4187f2d600b51fac (diff)
downloadsystem_core-50b3afd9f39619f69dc6f4efc29be88933eb3614.zip
system_core-50b3afd9f39619f69dc6f4efc29be88933eb3614.tar.gz
system_core-50b3afd9f39619f69dc6f4efc29be88933eb3614.tar.bz2
Add "slow_start" keyword to init
This keyword will cause init to wait a few seconds before exec'ing the target binary. Maybe only useful for hacks and debugging. Change-Id: I85caa0bcbc0be7e48bd21eb9e31e039c0740c8d5
Diffstat (limited to 'init/init.h')
-rw-r--r--init/init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.h b/init/init.h
index 8691335..9a202b7 100644
--- a/init/init.h
+++ b/init/init.h
@@ -69,6 +69,7 @@ struct svcenvinfo {
#define SVC_RESTARTING 0x08 /* waiting to restart */
#define SVC_CONSOLE 0x10 /* requires console */
#define SVC_CRITICAL 0x20 /* will reboot into recovery if keeps crashing */
+#define SVC_SLOW_START 0x40 /* wait a few seconds before starting */
#define NR_SVC_SUPP_GIDS 12 /* twelve supplementary groups */