Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-28 | Maintaining a broken compatibility layer for a broken OS is not a productive | Bob Beck | |
activity for anyone. Bye bye COMPAT_NETBSD. ok tedu@, deraadt@, and many others in the hackathon room. | |||
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-03-20 | zap unused variable. | Thordur I. Bjornsson | |
ok pedro@ | |||
2007-03-14 | Clean up after miod. | Mark Kettenis | |
2007-03-13 | Don't bother checking for OLF binaries if option SMALL_KERNEL. | Miod Vallat | |
2006-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |
2006-11-14 | grammar, spelling, and style fixes from bret lambert; | Jason McIntyre | |
kern_descrip.c change ok deraadt | |||
2006-07-10 | Handle executables that have all load sections marked read-only. | Mark Kettenis | |
ok drahn@ | |||
2006-01-19 | redo (w/ proper changes everywhere ;): | Michael Shalayeff | |
take interp[MAXPATHLEN] off the stack. from mickey, ok otto while here, switch above from malloc to pool, remove stupid casts tedu@ miod@ ok | |||
2006-01-07 | Backout last revision, it's broken. Try pkg_add redhat_base-8.0p7 on i386 | Aaron Campbell | |
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" | |||
2006-01-06 | take interp[MAXPATHLEN] off the stack. from mickey, ok otto | Ted Unangst | |
while here, switch above from malloc to pool, remove stupid casts | |||
2005-11-11 | Allow binaries to run if all sections are marked writable | Dale Rahn | |
(some unusual linux binaries), ok deraadt. | |||
2003-11-03 | verify exec headers before attempting malloc. reported by Georgi Guninski. | Ted Unangst | |
2003-08-21 | emulation is now controlled by sysctl. changes: | Ted Unangst | |
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@ | |||
2003-05-17 | Typos; from Julien Bordet <zejames@greyhats.org> | Alexander Yurchenko | |
Close PR 3262 | |||
2003-05-13 | Use EI_OSABI instead of EI_BRAND | Todd C. Miller | |
2003-04-16 | Use uvm_findspace() to verify that the addresses allocated to ld.so are | Dale Rahn | |
not already used. limit nphdr to 32. ok tedu@ | |||
2003-02-18 | Map just the requested pages not p_aligned pages. ok art@ | Dale Rahn | |
2002-11-22 | Allow more than two load sections on ELF executables, this limit | Dale Rahn | |
should not be required, and may be violated soon. With two fixes art pointed out. ok art@ | |||
2002-10-06 | Move out the execution of vmcmds into a separate function. | Artur Grabowski | |
2002-09-23 | Add support for vmcmds that load sections relative to a base section. | Artur Grabowski | |
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 | |||
2002-09-18 | Mark ELF ld.so as VTEXT to prevent the file from being overwritten. | Dale Rahn | |
ok deraadt@ art@ | |||
2002-08-22 | Change the vnode locking in exec to not keep the vnode locked almost all | Artur Grabowski | |
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. | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-11-15 | New function vn_marktext - mark a vnode as executing a text image. | Artur Grabowski | |
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet). | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-09-19 | Unify elf32 and elf64 code with macros. This forced a renaming | Artur Grabowski | |
of a few functions from elf32. | |||
2001-08-11 | Why is it so popular to include <vm/*.h> everywhere? | Artur Grabowski | |
2001-07-30 | Add a check for too big e_phnum that could cause us to malloc to | Artur Grabowski | |
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 | |||
2001-06-22 | KNF | Theo de Raadt | |
2001-01-22 | NATIVE_ELF -> NATIVE_EXEC_ELF (just some leftovers) | Artur Grabowski | |
2001-01-16 | Indentation nit. | Artur Grabowski | |
2000-01-01 | grammar in comment | Michael Shalayeff | |
1999-11-25 | Use PAGE_SIZE instead of NBPG. | Artur Grabowski | |
1999-08-12 | Probe svr4 before linux | Niklas Hallqvist | |
1999-07-20 | correct os_mask handling for OLF; pefo | Theo de Raadt | |
1999-06-01 | Fix some mips -> __mips__ stuff. | Per Fogelstrom | |
1999-02-10 | branding support and freebsd elf | Theo de Raadt | |
1999-01-11 | panic prints a newline for you, don't do it in the panic string | Todd C. Miller | |
1998-07-28 | Return EINVAL when msg_iovlen or iovcnt <= 0; Make uio_resid unsigned ↵ | Todd C. Miller | |
(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 * as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more | |||
1998-03-06 | Ensure the correct probe will be run for an OLF binary | Niklas Hallqvist | |
1998-02-22 | Save possible OLF OS tag, or similar deduced ELF info for later perusal. | Niklas Hallqvist | |
KNF. This has been sitting for a long time in my tree now. | |||
1996-12-23 | use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary types | Theo de Raadt | |
1996-11-24 | OLF is ALIVE! | etheisen | |
1996-09-12 | ok, must have read access at least. | Per Fogelstrom | |
1996-09-12 | remove excess tests... | Per Fogelstrom | |
1996-09-05 | ld has some funny things going with alignments... | Per Fogelstrom | |
1996-08-31 | Cleanup exec | Per Fogelstrom | |
1996-08-05 | layout style nit (am I a pedant, or what?) | Niklas Hallqvist | |
1996-06-16 | Whoops. Don't forget to take alignment into account when processing file. | etheisen | |
Thanks Per. |