summaryrefslogtreecommitdiffstats
path: root/init/keywords.h
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2010-12-03 16:33:31 -0800
committerKen Sumrall <ksumrall@android.com>2010-12-18 19:03:54 -0800
commit752923c168009d03e9e00e590155fbd0a2880ccb (patch)
treec35bf2554955ca2494be8bcc839d5f00a9b5553b /init/keywords.h
parent36f93f01201bbff4a411c73adfbaf08bd93b1ad2 (diff)
downloadcore-752923c168009d03e9e00e590155fbd0a2880ccb.tar.gz
core-752923c168009d03e9e00e590155fbd0a2880ccb.tar.bz2
core-752923c168009d03e9e00e590155fbd0a2880ccb.zip
Changes to init to support encrypted filesystems.
These are the changes to init and init.rc necessary to support booting with and encrypted /data filesystem. A corresponding change to init.<device>.rc goes along with this change. Change-Id: I0c7e2cc39568358014a82e317735c0eae14dd683
Diffstat (limited to 'init/keywords.h')
-rw-r--r--init/keywords.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/keywords.h b/init/keywords.h
index 25315d835..d15ad49ef 100644
--- a/init/keywords.h
+++ b/init/keywords.h
@@ -4,6 +4,7 @@ int do_chroot(int nargs, char **args);
int do_chdir(int nargs, char **args);
int do_class_start(int nargs, char **args);
int do_class_stop(int nargs, char **args);
+int do_class_reset(int nargs, char **args);
int do_domainname(int nargs, char **args);
int do_exec(int nargs, char **args);
int do_export(int nargs, char **args);
@@ -39,6 +40,7 @@ enum {
KEYWORD(class, OPTION, 0, 0)
KEYWORD(class_start, COMMAND, 1, do_class_start)
KEYWORD(class_stop, COMMAND, 1, do_class_stop)
+ KEYWORD(class_reset, COMMAND, 1, do_class_reset)
KEYWORD(console, OPTION, 0, 0)
KEYWORD(critical, OPTION, 0, 0)
KEYWORD(disabled, OPTION, 0, 0)