commit | 7d57485a8a3c45c254919f01337c14cc2856accd | [log] [tgz] |
---|---|---|
author | Luca Boccassi <luca.boccassi@microsoft.com> | Tue May 14 19:35:02 2019 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat May 18 12:32:02 2019 -0400 |
tree | d153de42617f0bcfc783da793caa39487e26b39e | |
parent | 26992928e80a7f8d86267985b211a858094dc389 [diff] |
tools: use read-only mmap in fit_check_sign Add an option to open files in read-only mode in mmap_fdt so that fit_check_sign can be used to inspect files on read-only filesystems. For example, this is useful when a key is shipped in a read-only rootfs or squashfs. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>