summaryrefslogtreecommitdiffstats
path: root/fs_mgr/include
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/include
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/include')
-rw-r--r--fs_mgr/include/fs_mgr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs_mgr/include/fs_mgr.h b/fs_mgr/include/fs_mgr.h
index 110e738..384d195 100644
--- a/fs_mgr/include/fs_mgr.h
+++ b/fs_mgr/include/fs_mgr.h
@@ -17,6 +17,9 @@
#ifndef __CORE_FS_MGR_H
#define __CORE_FS_MGR_H
+#include <stdint.h>
+#include <linux/dm-ioctl.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -35,6 +38,7 @@ struct fstab_rec {
char *fs_options;
int fs_mgr_flags;
char *key_loc;
+ char *verity_loc;
long long length;
char *label;
int partnum;