4 ms·
Linux uses libelf to parse the executable, it isn't in the kernel. It's a sort of weird process but binfmt will load libelf, which is then responsible for loadi
by zaarn 7y ago
Linux uses libelf to parse the executable, it isn't in the kernel. It's a sort of weird process but binfmt will load libelf, which is then responsible for loading the ELF file.
- Vogtinator 7y agoNope: The Linux kernel has to parse and support all of the ELF stuff the INTERP of the executable needs. fs/binfmt_elf.c is over 2k lines.