platform_system_core/fs_mgr
Sandeep Patil e7a1b3757f fs_mgr: make is_device_secure() work even in the absence of properties.
During early mount property area is not initialized, and as a result an
'eng' build will always incorrectly be detected as a 'secure' build by
early mount code path resulting into verity error and consequent boot
loop.

The change here makes sure the is_device_secure() check works with /
without properties based on the 'eng' build based build flag so the
early mount code works fine both ways.

Bug: 35791581
Bug: 27805372

Test: Boot sailfish-{eng,userdebug} builds successfully w/ early
mount enabled

Change-Id: Icd101ccad56b669f49b60bbb3005d5be9f53b02b
Signed-off-by: Sandeep Patil <sspatil@google.com>
2017-02-27 12:46:18 -08:00
..
include fs_mgr: fix const parameter in fs_mgr_do_tmpfs_mount 2017-02-24 19:33:53 -08:00
.clang-format Fix-up coding style 2017-02-18 12:33:36 +08:00
Android.mk fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr.cpp fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr_avb.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_avb_ops.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_avb_ops.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_boot_config.cpp fs_mgr: consolidate DT compatible check 2017-02-24 13:29:26 -08:00
fs_mgr_dm_ioctl.cpp Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_format.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_fstab.cpp fs_mgr: refactor: consolidate device tree file reading in one place 2017-02-24 13:29:33 -08:00
fs_mgr_main.cpp fs_mgr: Switch to LOG()/PLOG() defined in <android-base/logging.h> 2017-01-26 21:47:55 +08:00
fs_mgr_priv.h fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00
fs_mgr_priv_avb.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_boot_config.h early_mount: fs_mgr: move all fstab logic into fs_mgr 2017-02-23 16:48:43 -08:00
fs_mgr_priv_dm_ioctl.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_priv_sha.h Fix-up coding style 2017-02-18 12:33:36 +08:00
fs_mgr_slotselect.cpp fs_mgr: add a generic fs_mgr_get_boot_config internal API 2017-02-22 12:58:15 -08:00
fs_mgr_verity.cpp fs_mgr: make is_device_secure() work even in the absence of properties. 2017-02-27 12:46:18 -08:00