3 ms·
The code is architecture-independent. The article handily links to it: https://elixir.bootlin.com/linux/v3.18/source/fs/binfmt_elf.c#L178 https://elixir.bootlin
by pjc50 9y ago
The code is architecture-independent. The article handily links to it: https://elixir.bootlin.com/linux/v3.18/source/fs/binfmt_elf.c#L178 https://elixir.bootlin.com/linux/v3.18/source/fs/binfmt_elf....
So regardless of what architecture you're on and how long its platform capability description is, it goes on the stack. This also allows for for future expansion without forever constraining the string to be 64 bits.