Missed header_supported call from r291020: make really, really sure the brand
likes the executable.
This commit is contained in:
parent
0a2a3753ef
commit
f19d421ac6
@ -273,6 +273,9 @@ __elfN(get_brandinfo)(struct image_params *imgp, const char *interp,
|
||||
if (hdr->e_machine == bi->machine && (bi->flags &
|
||||
(BI_BRAND_NOTE|BI_BRAND_NOTE_MANDATORY)) != 0) {
|
||||
ret = __elfN(check_note)(imgp, bi->brand_note, osrel);
|
||||
/* Give brand a chance to veto check_note's guess */
|
||||
if (ret && bi->header_supported)
|
||||
ret = bi->header_supported(imgp);
|
||||
if (ret)
|
||||
return (bi);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user