[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] reduce magic numbers length to 16 bytes (qemu-binfm

From: Anderson Lizardo
Subject: [Qemu-devel] [PATCH] reduce magic numbers length to 16 bytes (qemu-binfmt-conf.sh)
Date: Fri, 10 Mar 2006 22:58:37 -0400


Any reason why the magic numbers from qemu-binfmt-conf.sh are not just
16 bytes long as those reported by "readelf --file-header"? For

$ readelf --file-header /bin/true | grep Magic:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

Using only the first 16 bytes avoids the need to have separate entries
for i386 and i486, given that they are emulated by the same program
(qemu-i386). The others still need separate entries because of

Anderson Lizardo
Embedded Linux Lab - 10LE
Nokia Institute of Technology - INdT
Manaus - Brazil

Attachment: qemu-binfmt-conf-16bytes-magic.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]