summaryrefslogtreecommitdiffstats
path: root/fs_mgr/include
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2017-02-23 07:21:36 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-02-23 07:21:36 +0000
commit5f08cb2aeafa2d1b8035d7e5ec84bfe83d4faece (patch)
treedf25df151775538a94e24438c3f6a306bd842cdd /fs_mgr/include
parenta06225bf977095a94090e5941d8ef1e18e2dcaaa (diff)
parente0d7b830f02bf1f0b209d843f7d947d8ea5dd958 (diff)
downloadcore-5f08cb2aeafa2d1b8035d7e5ec84bfe83d4faece.tar.gz
core-5f08cb2aeafa2d1b8035d7e5ec84bfe83d4faece.tar.bz2
core-5f08cb2aeafa2d1b8035d7e5ec84bfe83d4faece.zip
Merge changes from topic 'early-mount-support' am: 4bd3facbb1
am: e0d7b830f0 Change-Id: Icd0db777090c067dba1ba01349a0d1f58adda1e9
Diffstat (limited to 'fs_mgr/include')
-rw-r--r--fs_mgr/include/fs_mgr.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs_mgr/include/fs_mgr.h b/fs_mgr/include/fs_mgr.h
index a9deed948..0402b5593 100644
--- a/fs_mgr/include/fs_mgr.h
+++ b/fs_mgr/include/fs_mgr.h
@@ -103,6 +103,7 @@ int fs_mgr_mount_all(struct fstab *fstab, int mount_mode);
int fs_mgr_do_mount(struct fstab *fstab, const char *n_name, char *n_blk_device,
char *tmp_mount_point);
+int fs_mgr_do_mount_one(struct fstab_rec *rec);
int fs_mgr_do_tmpfs_mount(char *n_name);
int fs_mgr_unmount_all(struct fstab *fstab);
int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
@@ -116,6 +117,7 @@ struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const ch
int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab);
int fs_mgr_is_nonremovable(const struct fstab_rec *fstab);
int fs_mgr_is_verified(const struct fstab_rec *fstab);
+int fs_mgr_is_verifyatboot(const struct fstab_rec *fstab);
int fs_mgr_is_encryptable(const struct fstab_rec *fstab);
int fs_mgr_is_file_encrypted(const struct fstab_rec *fstab);
const char* fs_mgr_get_file_encryption_mode(const struct fstab_rec *fstab);
@@ -131,10 +133,10 @@ int fs_mgr_swapon_all(struct fstab *fstab);
int fs_mgr_do_format(struct fstab_rec *fstab, bool reserve_footer);
-#define FS_MGR_EARLY_SETUP_VERITY_NO_VERITY -2
-#define FS_MGR_EARLY_SETUP_VERITY_FAIL -1
-#define FS_MGR_EARLY_SETUP_VERITY_SUCCESS 0
-int fs_mgr_early_setup_verity(struct fstab_rec *fstab);
+#define FS_MGR_SETUP_VERITY_DISABLED (-2)
+#define FS_MGR_SETUP_VERITY_FAIL (-1)
+#define FS_MGR_SETUP_VERITY_SUCCESS 0
+int fs_mgr_setup_verity(struct fstab_rec *fstab, bool wait_for_verity_dev);
#ifdef __cplusplus
}