diff options
author | Brian Woods | 2020-01-16 18:04:02 -0800 |
---|---|---|
committer | Stefano Stabellini | 2020-01-17 15:32:17 -0800 |
commit | d324dce16bc280c475f4b5381e9b205662654333 (patch) | |
tree | bd3b09303b4a4a14abe5fe2be4a2420f4ecde711 /disk_image | |
parent | c1260aac1547c97f31c590bfa384d1418228c49a (diff) |
Add robustness to file type checking
Some versions of the file command and Xen will output:
xen: Linux kernel ARM boot executable zImage (little-endian)
and executables that file doesn't recognize are simply classified as
"data." So changing "MS-DOS executable" to "executable" and or'ing that
with "data" should increase coverage without making the check useless.
Suggested-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'disk_image')
0 files changed, 0 insertions, 0 deletions