summaryrefslogtreecommitdiffstats
path: root/fs_mgr/fs_mgr_priv_verity.h
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2013-02-22 18:11:41 -0800
committerGeremy Condra <gcondra@google.com>2013-08-06 22:15:58 -0700
commit3ad3d1c4b5856d4e314febc5671c74e78a76db00 (patch)
tree23b93980c5ef47091721e9a0c969e763998505cf /fs_mgr/fs_mgr_priv_verity.h
parent0246f8f6f6e4b9ebee7d683a48ce37728ea39340 (diff)
downloadsystem_core-3ad3d1c4b5856d4e314febc5671c74e78a76db00.zip
system_core-3ad3d1c4b5856d4e314febc5671c74e78a76db00.tar.gz
system_core-3ad3d1c4b5856d4e314febc5671c74e78a76db00.tar.bz2
Add basic verity support to fs_mgr.
This change adds a "verify" fs_mgr flag specifying that the device in question should be verified. Devices marked with this flag are expected to have a footer immediately after their data containing all the information needed to set up a verity instance. Change-Id: I10101f2c3240228ee0932e3767fe35e673d2e720
Diffstat (limited to 'fs_mgr/fs_mgr_priv_verity.h')
-rw-r--r--fs_mgr/fs_mgr_priv_verity.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs_mgr/fs_mgr_priv_verity.h b/fs_mgr/fs_mgr_priv_verity.h
new file mode 100644
index 0000000..6193784
--- /dev/null
+++ b/fs_mgr/fs_mgr_priv_verity.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2013 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+int fs_mgr_setup_verity(struct fstab_rec *fstab); \ No newline at end of file