android_system_core/fs_mgr
Sami Tolvanen 72f0d92c72 DO NOT MERGE: Do not mount devices with invalid verity metadata
The return value of read_verity_metadata is propagated to caller
even if the verity metadata is invalid, provided that it can be
read from the device. This results in devices with invalid verity
metadata signatures to be mounted normally, which is not desirable.
This change fixes the bug by changing the return value in case of
verification failure to FS_MGR_SETUP_VERITY_FAIL.

Bug: 15984840
Bug: 18120110
Change-Id: Ic29f37a23cb417c2538d60fb05de9dd310d50f4a
(cherry picked from commit c95e9da396)
2014-11-13 15:43:08 -08:00
..
include Revert "Revert "Enable verity on userdebug, and add disable-verity to adb"" 2014-10-09 09:05:36 -07:00
Android.mk Revert "Revert "Enable verity on userdebug, and add disable-verity to adb"" 2014-10-09 09:05:36 -07:00
fs_mgr.c fs_mgr: let fsck.f2fs actually attempt a fix 2014-11-08 01:20:24 +00:00
fs_mgr_fstab.c Revert "Revert "Enable verity on userdebug, and add disable-verity to adb"" 2014-10-09 09:05:36 -07:00
fs_mgr_main.c
fs_mgr_priv.h
fs_mgr_priv_verity.h Revert "Revert "Enable verity on userdebug, and add disable-verity to adb"" 2014-10-09 09:05:36 -07:00
fs_mgr_verity.c DO NOT MERGE: Do not mount devices with invalid verity metadata 2014-11-13 15:43:08 -08:00