tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ELFOSABI_NETBSD



What's the purpose of ELFOSABI_NETBSD on NetBSD?

Currently we set e_ident[EI_OSABI] to ELFOSABI_SYSV. This makes parsing
NetBSD core(5) core files cross-system little bit less obvious. In LLDB
we are recognized as generic or unknown unix.

Function ELFNAMEEND(coredump):

    161 	/* XXX Should be the OSABI/ABI version of the executable. */
    162 	ehdr.e_ident[EI_OSABI] = ELFOSABI_SYSV;


 --- src/sys/kern/core_elf32.c

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index