summaryrefslogtreecommitdiffstats
path: root/fs_mgr/fs_mgr_priv_verity.h
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-10-09 14:22:49 +0000
committerPaul Lawrence <paullawrence@google.com>2014-10-09 09:05:36 -0700
commitbbb36319119edde9377fb80015235893c30d2bc9 (patch)
tree1de353d5bd49e6b548c068664d2f549407227deb /fs_mgr/fs_mgr_priv_verity.h
parenta49bfc0d2620a9ad95ddfa7ec61ce06a77066d97 (diff)
downloadsystem_core-bbb36319119edde9377fb80015235893c30d2bc9.zip
system_core-bbb36319119edde9377fb80015235893c30d2bc9.tar.gz
system_core-bbb36319119edde9377fb80015235893c30d2bc9.tar.bz2
Revert "Revert "Enable verity on userdebug, and add disable-verity to adb""
This reverts commit 152d2d4234ba89e0c20c4af13e291b6049a7bc33. Fixed build error, and also fixed memory leak spotted from warning. Bug: 17691572 Change-Id: I23b5ba537f7b557432041d4338b38b9be434e981
Diffstat (limited to 'fs_mgr/fs_mgr_priv_verity.h')
-rw-r--r--fs_mgr/fs_mgr_priv_verity.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs_mgr/fs_mgr_priv_verity.h b/fs_mgr/fs_mgr_priv_verity.h
index 6193784..f90e596 100644
--- a/fs_mgr/fs_mgr_priv_verity.h
+++ b/fs_mgr/fs_mgr_priv_verity.h
@@ -14,4 +14,7 @@
* limitations under the License.
*/
-int fs_mgr_setup_verity(struct fstab_rec *fstab); \ No newline at end of file
+#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);