commit | bff733fe197ed4bb8f01deb1610658b92d2eb4dd | [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 | 8ec89a2afd6c4c848c80bd7447293412b5d5b07c [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>