Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

bootiso should check for system architecture (32/64) when executing downloaded syslinux binaries #22

Closed
jsamr opened this issue Jul 26, 2018 · 0 comments
Milestone

Comments

@jsamr
Copy link
Owner

jsamr commented Jul 26, 2018

A file command on a 32 bits binary looks like:

 ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=26aeb251b16634d2a2bcc54bbf9e8f6ce9f0673e, with debug_info, not stripped

Versus

ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=bf7211ae69aa20ac210bef9648e5fae8815935ab, stripped

on x64 binary.

Executing 64-bit on i386 won't work.
Executing 32 bits on x86_64 could work if support has been provided. Unfortunately, there is no standard, cross-platform way to know if one's architecture supports this file.

@jsamr jsamr added this to the v3.3.0 milestone Aug 6, 2018
@jsamr jsamr modified the milestones: v3.3.0, v3.4.0 Apr 4, 2019
@jsamr jsamr modified the milestones: v4.0.0, v4.1.0 Apr 18, 2020
@jsamr jsamr closed this as completed in b7c214b May 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant