summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_elf64.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() exceptguenther2017-02-081-10/+0
| | | | | | | | | | | | | | | | | | | | | | leaving out the size, so that ELFNAME2(exec,makecmds) becomes exec_elf_makecmds instead of exec_elf{32,64}_makecmds and then delete the ELFNAME2() and ELFNAMEEND() macros. Move the prototypes for functions local to exec_elf.c to there from exec_elf.h. Simplify the SMALL_KERNEL conditionals around the ELF coredump code. Change exec_conf.c to use the size-generic names and macros Remove exec_elf{32,64}.c and just build exec_elf.c; delete the _KERN_DO_ELF and _KERN_DO_ELF64 #defines. ok jca@, encouragement from deraadt@ and tom@
* Missing $OpenBSD$'s.krw2015-01-201-0/+1
| | | | ok deraadt@
* Every file must have a license blob, even if the blob is larger than the file.art2001-10-271-0/+3
|
* Unify elf32 and elf64 code with macros. This forced a renamingart2001-09-191-839/+3
| | | | of a few functions from elf32.
* Why is it so popular to include <vm/*.h> everywhere?art2001-08-111-3/+1
|
* Make the e_phnum check slightly cleaner.art2001-07-301-10/+8
|
* Make quad types on alpha be "long long" not "long". This means thatmillert2001-07-091-6/+6
| | | | printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.
* KNFderaadt2001-06-221-32/+30
|
* Kludge around a problem where incorrect elf headers can causeart2001-03-291-1/+10
| | | | | us to allocate too much memory in kmem_map and barf. This solution is completly bogus but it is the best I can do right now.
* 2nd bug on the road to shlibs on alpha:niklas2001-03-071-2/+2
| | | | Off by one page when loading.
* Do a check for the OpenBSD note before doing any emulation probes.art2001-02-031-3/+9
| | | | | | This way OpenBSD will be explicitly treated first and not handled as a fallback. This should speed archs with many emulations.
* NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers)art2001-01-221-2/+2
|
* Add a check for MNT_NOEXEC that was in exec_elf.c but not here.art2001-01-161-1/+5
| | | | I am not sure if it is necessary, but it will not hurt either.
* NATIVE_ELF -> NATIVE_EXEC_ELF (this is what userland uses andart2000-12-141-3/+3
| | | | what is defined in machine/exec.h
* Use PAGE_SIZE instead of NBPG.art1999-11-251-3/+3
|
* do not attempt to run NetBSD binaries using native emulkstailey1999-09-271-1/+3
|
* clean upkstailey1999-09-251-13/+6
|
* clean upkstailey1999-09-201-11/+8
|
* improved OS brand PT_NOTE detectionkstailey1999-09-191-18/+72
|
* use PT_NOTE to identify NetBSD ELF64 binarieskstailey1999-09-191-13/+27
|
* Add COMPAT_NETBSD. Currently only works for ELF64. Many missing system calls.kstailey1999-09-121-1/+8
|
* ELF64kstailey1999-09-101-0/+762