Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ``it's'' -> ``its'' when the grammar gods require this change. | 2007-04-10 | 1 | -3/+3 | ||
| | ||||||
* | zap unused variable. | 2007-03-20 | 1 | -3/+1 | ||
| | | | | ok pedro@ | |||||
* | Clean up after miod. | 2007-03-14 | 1 | -1/+3 | ||
| | ||||||
* | Don't bother checking for OLF binaries if option SMALL_KERNEL. | 2007-03-13 | 1 | -5/+13 | ||
| | ||||||
* | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | 2006-12-29 | 1 | -2/+2 | ||
| | ||||||
* | grammar, spelling, and style fixes from bret lambert; | 2006-11-14 | 1 | -2/+2 | ||
| | | | | kern_descrip.c change ok deraadt | |||||
* | Handle executables that have all load sections marked read-only. | 2006-07-10 | 1 | -1/+10 | ||
| | | | | ok drahn@ | |||||
* | redo (w/ proper changes everywhere ;): | 2006-01-19 | 1 | -33/+29 | ||
| | | | | | | take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok | |||||
* | Backout last revision, it's broken. Try pkg_add redhat_base-8.0p7 on i386 | 2006-01-07 | 1 | -29/+33 | ||
| | | | | | to see; page fault trap in linux_elf_probe (char *itp is being passed as NULL and then "if (itp[0])" attempts to dereference it). deraadt@ "trash it asap" | |||||
* | take interp[MAXPATHLEN] off the stack. from mickey, ok otto | 2006-01-06 | 1 | -33/+29 | ||
| | | | | while here, switch above from malloc to pool, remove stupid casts | |||||
* | Allow binaries to run if all sections are marked writable | 2005-11-11 | 1 | -1/+8 | ||
| | | | | (some unusual linux binaries), ok deraadt. | |||||
* | verify exec headers before attempting malloc. reported by Georgi Guninski. | 2003-11-03 | 1 | -1/+2 | ||
| | ||||||
* | emulation is now controlled by sysctl. changes: | 2003-08-21 | 1 | -1/+2 | ||
| | | | | | | | | | add e_flags to struct emul. this stores on/off and native flags. check for emul enabled in check_exec(). gather all the emuls into a emulsw so a sysctl can find them. create sysctl. move maxhdrsiz calcualation into init_main so it cleans up sys_execve codepath. teach sysctl utility to grok kern.emul hierarchy. requested and ok deraadt@ some comments from mickey@ | |||||
* | Typos; from Julien Bordet <zejames@greyhats.org> | 2003-05-17 | 1 | -2/+2 | ||
| | | | | Close PR 3262 | |||||
* | Use EI_OSABI instead of EI_BRAND | 2003-05-13 | 1 | -3/+7 | ||
| | ||||||
* | Use uvm_findspace() to verify that the addresses allocated to ld.so are | 2003-04-16 | 1 | -13/+85 | ||
| | | | | not already used. limit nphdr to 32. ok tedu@ | |||||
* | Map just the requested pages not p_aligned pages. ok art@ | 2003-02-18 | 1 | -15/+24 | ||
| | ||||||
* | Allow more than two load sections on ELF executables, this limit | 2002-11-22 | 1 | -16/+38 | ||
| | | | | | should not be required, and may be violated soon. With two fixes art pointed out. ok art@ | |||||
* | Move out the execution of vmcmds into a separate function. | 2002-10-06 | 1 | -21/+4 | ||
| | ||||||
* | Add support for vmcmds that load sections relative to a base section. | 2002-09-23 | 1 | -23/+40 | ||
| | | | | | | | | You mark one section with VMCMD_BASE and the rest are marked RELATIVE. Use that to load ELF interpreter correctly in all cases. Inspired by NetBSD. Great debugging help from drahn@ deraadt@ ok | |||||
* | Mark ELF ld.so as VTEXT to prevent the file from being overwritten. | 2002-09-18 | 1 | -1/+3 | ||
| | | | | ok deraadt@ art@ | |||||
* | Change the vnode locking in exec to not keep the vnode locked almost all | 2002-08-22 | 1 | -2/+2 | ||
| | | | | | | | | | | | | | | the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case. | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -3/+3 | ||
| | ||||||
* | New function vn_marktext - mark a vnode as executing a text image. | 2001-11-15 | 1 | -2/+2 | ||
| | | | | Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet). | |||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+2 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | Unify elf32 and elf64 code with macros. This forced a renaming | 2001-09-19 | 1 | -131/+167 | ||
| | | | | of a few functions from elf32. | |||||
* | Why is it so popular to include <vm/*.h> everywhere? | 2001-08-11 | 1 | -3/+1 | ||
| | ||||||
* | Add a check for too big e_phnum that could cause us to malloc to | 2001-07-30 | 1 | -1/+9 | ||
| | | | | | | much and barf. This should have been merged into this file from exec_elf64.c a long time ago. Looking for volunteers to merge exec_elf.c and exec_elf64.c | |||||
* | KNF | 2001-06-22 | 1 | -26/+24 | ||
| | ||||||
* | NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers) | 2001-01-22 | 1 | -3/+3 | ||
| | ||||||
* | Indentation nit. | 2001-01-16 | 1 | -2/+2 | ||
| | ||||||
* | grammar in comment | 2000-01-01 | 1 | -2/+2 | ||
| | ||||||
* | Use PAGE_SIZE instead of NBPG. | 1999-11-25 | 1 | -3/+3 | ||
| | ||||||
* | Probe svr4 before linux | 1999-08-12 | 1 | -4/+4 | ||
| | ||||||
* | correct os_mask handling for OLF; pefo | 1999-07-20 | 1 | -4/+4 | ||
| | ||||||
* | Fix some mips -> __mips__ stuff. | 1999-06-01 | 1 | -3/+3 | ||
| | ||||||
* | branding support and freebsd elf | 1999-02-10 | 1 | -4/+21 | ||
| | ||||||
* | panic prints a newline for you, don't do it in the panic string | 1999-01-11 | 1 | -2/+2 | ||
| | ||||||
* | Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned (size_t) and don't return EINVAL if it is < 0 in sys_{read,write}. Remove check for uio_resid < 0 uiomove() now that uio_resid is unsigned and brack remaining panics with #ifdef DIAGNOSTIC. vn_rdwr() must now take a size_t * ↵ | 1998-07-28 | 1 | -2/+2 | ||
| | | | | as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more | |||||
* | Ensure the correct probe will be run for an OLF binary | 1998-03-06 | 1 | -32/+41 | ||
| | ||||||
* | Save possible OLF OS tag, or similar deduced ELF info for later perusal. | 1998-02-22 | 1 | -79/+100 | ||
| | | | | KNF. This has been sitting for a long time in my tree now. | |||||
* | use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types | 1996-12-23 | 1 | -10/+6 | ||
| | ||||||
* | OLF is ALIVE! | 1996-11-24 | 1 | -9/+47 | ||
| | ||||||
* | ok, must have read access at least. | 1996-09-12 | 1 | -1/+3 | ||
| | ||||||
* | remove excess tests... | 1996-09-12 | 1 | -10/+1 | ||
| | ||||||
* | ld has some funny things going with alignments... | 1996-09-05 | 1 | -1/+5 | ||
| | ||||||
* | Cleanup exec | 1996-08-31 | 1 | -89/+159 | ||
| | ||||||
* | layout style nit (am I a pedant, or what?) | 1996-08-05 | 1 | -2/+2 | ||
| | ||||||
* | Whoops. Don't forget to take alignment into account when processing file. | 1996-06-16 | 1 | -2/+3 | ||
| | | | | Thanks Per. | |||||
* | elf_check_header() is now fully functional. Still need to add OS checks. | 1996-06-15 | 1 | -31/+23 | ||
| |