mbox

[0/2] elf: dl-load error handling refactoring

Message ID cover.1607703178.git.szabolcs.nagy@arm.com
Headers

Message

Szabolcs Nagy Dec. 11, 2020, 4:35 p.m. UTC
  Fix some failure handling in _dl_map_object_from_fd and
slightly improve maintainability.

This used to be part of the BTI _dl_process_gnu_property
changes, but those no longer depend on failure handling here.
However if the code is ever changed so that note processing
can propagate failures this patchset would help.

Szabolcs Nagy (2):
  elf: inline lose for error handling
  elf: Fix failure handling in _dl_map_object_from_fd

 elf/dl-load.c | 110 ++++++++++++++++++++++++--------------------------
 1 file changed, 53 insertions(+), 57 deletions(-)