[Libguestfs] [PATCH v2] inspector: recognize ppc64 and ppc64le archs (RHBZ#1211996)

Maros Zatko mzatko at redhat.com
Thu Apr 16 14:51:47 UTC 2015


Patch extracts MSB/LSB info from /bin/file output and prepends it
to elf_arch. Then it is sent to impl_file_architecture and checked.

Now using guestfs_int_safe_asprintf instead of malloc + snprintf.
Modified magic_for_file.

Fixes: RHBZ#1211996

Maros Zatko (1):
  inspector: recognize ppc64 and ppc64le archs (RHBZ#1211996)

 src/filearch.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

-- 
1.9.3




More information about the Libguestfs mailing list