mirror of
https://github.com/clearlinux/graphene.git
synced 2026-04-28 11:13:41 +00:00
[LibOS] Replace EM_X86_64 with SHIM_ELF_HOST_MACHINE
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
committed by
Borys Popławski
parent
347cdab962
commit
fb42d39c94
@@ -575,7 +575,7 @@ static int __check_elf_header(void* fbp, size_t len) {
|
||||
}
|
||||
|
||||
/* Now we check if the host match the elf machine profile */
|
||||
if (ehdr->e_machine != EM_X86_64) {
|
||||
if (ehdr->e_machine != SHIM_ELF_HOST_MACHINE) {
|
||||
errstring = "ELF file does not match with the host";
|
||||
goto verify_failed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user