summaryrefslogtreecommitdiff
path: root/sys/kern/exec_subr.c
AgeCommit message (Collapse)Author
2001-11-28Sync in more uvm changes from NetBSD.Artur Grabowski
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
2001-11-07Add an alignment argument to uvm_map that specifies an alignment hintArtur Grabowski
for the virtual address.
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-27remove old vmArtur Grabowski
2001-06-22KNFTheo de Raadt
2001-02-22ELF uses more than 5 vmcmds by default, so grow the default vmcmd set sizeArtur Grabowski
to 8. At the same time it seemed like a good idea to avoid to always malloc a new vmcmd array, so put the default sized array into struct exec_vmcmd_set. We might want to make a linked list of vmcmd arrays or exec_vmcmd_sets instead of reallocating them some time in the future, but right now this seems like a waste of time.
2000-11-06Don't bomb when the length of pagedvn vm_cmd is not page aligned.Artur Grabowski
Other commands were checked and look safe.
2000-09-26Don't use MALLOC/FREE on variable sized allocations.Artur Grabowski
1999-11-05more stack direction fixes; art@ okMichael Shalayeff
1999-02-26a new way of mapping in exec for uvmArtur Grabowski
1998-07-28Return 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
1997-02-24OpenBSD tagsNiklas Hallqvist
1997-02-14round RLIMIT_STACK; problem spotted by jfw@jfwhome.funhousecomTheo de Raadt
1996-12-23use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary typesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt