summaryrefslogtreecommitdiffstats
path: root/sys/kern/exec_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ansi with a little knf. ok deraadt jsgtedu2011-06-291-28/+15
|
* grammar, spelling, and style fixes from bret lambert;jmc2006-11-141-2/+2
| | | | kern_descrip.c change ok deraadt
* don't call vn_rdwr() with IO_NODELOCKED when the vnode actually isn'tsturm2006-07-261-2/+2
| | | | | | locked; with this diff VFSDEBUG kernels can boot again ok pedro, thib (who came up with the same diff)
* fix typo in commenthshoexer2004-11-231-2/+2
| | | | ok deraadt@ markus@
* vmcmd_map_readvn - don't map the initial mapping with X unless theart2003-05-091-7/+9
| | | | | | | final protection has an X. Doesn't really change anything except reducing I$ flushing. niklas@ ok
* simplify stack grownups (growndowns are not touched)mickey2002-12-191-6/+7
|
* Eliminate the use of KERN_SUCCESS outside of uvm/art2002-11-061-11/+10
| | | | | | | | Also uvm_map returns KERN_* codes that are directly mapped to errnos, so we can return them instead of doing some attempt to translation. drahn@ "I see no problem" pval@ "makes sense"
* Remove a diagnostic check that I added when reorganizing the code.art2002-10-071-5/+1
| | | | | It triggers on ppc and while the check itself is correct, it's better to fix the bug before breaking peoples systems.
* Move out the execution of vmcmds into a separate function.art2002-10-061-3/+36
|
* make it compile w/ DEBUG by syncing w/ exec.h; deraadt@ okmickey2002-10-021-2/+4
|
* Map stack pages without VM_PROT_EXECUTE. Notice that right now thisart2002-07-211-3/+3
| | | | doesn't do anything since no pmap implements exec protection yet.
* First round of __P removal in sysmillert2002-03-141-2/+2
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-8/+21
| | | | | | | | | machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
* Sync in more uvm changes from NetBSD.art2001-11-281-29/+14
| | | | | This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
* Merge in the unified buffer cache code as found in NetBSD 2001/03/10. Theart2001-11-271-1/+2
| | | | | | | 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.
* Add an alignment argument to uvm_map that specifies an alignment hintart2001-11-071-4/+4
| | | | for the virtual address.
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-3/+1
| | | | (Look ma, I might have broken the tree)
* remove old vmart2001-06-271-29/+1
|
* KNFderaadt2001-06-221-28/+27
|
* ELF uses more than 5 vmcmds by default, so grow the default vmcmd set sizeart2001-02-221-13/+16
| | | | | | | | | | | 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.
* Don't bomb when the length of pagedvn vm_cmd is not page aligned.art2000-11-061-2/+3
| | | | Other commands were checked and look safe.
* Don't use MALLOC/FREE on variable sized allocations.art2000-09-261-6/+5
|
* more stack direction fixes; art@ okmickey1999-11-051-1/+14
|
* a new way of mapping in exec for uvmart1999-02-261-1/+100
|
* 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 * ↵millert1998-07-281-2/+2
| | | | as its 9th argument so change that and clean up uses of vn_rdwr(). Fixes 549 + more
* OpenBSD tagsniklas1997-02-241-0/+1
|
* round RLIMIT_STACK; problem spotted by jfw@jfwhome.funhousecomderaadt1997-02-141-1/+1
|
* use _{NLIST,KERN}_DO_{AOUT,ELF,ECOFF} to select binary typesderaadt1996-12-231-0/+45
|
* initial import of NetBSD treederaadt1995-10-181-0/+196