Re:Writing Assembly on OpenBSD (x86) (2012)
by echochar on Monday January 25, 2016 @01:38AM
(#10965934)
What is the purpose of the .note section? If it is left out, it appears from ktrace that the kernel assumes the binary uses some other ABI, e.g., Linux, etc. (compat_linux, etc.) and the /emul shadow directory gets searched.
[ Parent
| on HN ]
Re:Writing Assembly on OpenBSD (x86) (2012)
by bootload on Monday January 25, 2016 @04:55AM
(#10966376)
From the document: "OpenBSD native executables usually contain a .note.openbsd.ident section to identify themselves, for the kernel to bypass any compatibility ELF binary emulation tests when loading the file"