summaryrefslogtreecommitdiff
path: root/sys/kern/exec_subr.c
AgeCommit message (Expand)Author
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2018-02-10Use sched_pause(yield) to decide when to yield when filling randomdata.mortimer
2018-02-08Use a temporary chacha instance to fill large randomdata sections. Avoidsmortimer
2017-05-18Add a gap of 1MB between the stack and mmap spaces.Mark Kettenis
2015-08-29size for free()Theo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-16In exec_setup_stack(), move the stack in the right direction ifMiod Vallat
2015-02-09Change the way stackgap_random is applied. Instead of applying it within theMiod Vallat
2015-02-06Raise ELF_RANDOMIZE_LIMIT to 64K, so that programs and libraries canTheo de Raadt
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-16Delete a comment that was obsoleted by the switch to UVMPhilip Guenther
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-14prefer sizeof(*ptr) to sizeof(struct) for malloc and freeTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-07-13use mallocarray where arguments are multipled. ok deraadtTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-02Use real parameter types for u{dv,vn}_attach() instead of void *Matthew Dempsky
2014-05-29When vmcmd_map_readvn() maps in the page it reads into, it forcesPhilip Guenther
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
2013-10-15repair typo talking about a.outTheo de Raadt
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEMatthew Dempsky
2011-06-29ansi with a little knf. ok deraadt jsgTed Unangst
2006-11-14grammar, spelling, and style fixes from bret lambert;Jason McIntyre
2006-07-26don't call vn_rdwr() with IO_NODELOCKED when the vnode actually isn'tNikolay Sturm
2004-11-23fix typo in commentHans-Joerg Hoexer
2003-05-09vmcmd_map_readvn - don't map the initial mapping with X unless theArtur Grabowski
2002-12-19simplify stack grownups (growndowns are not touched)Michael Shalayeff
2002-11-06Eliminate the use of KERN_SUCCESS outside of uvm/Artur Grabowski
2002-10-07Remove a diagnostic check that I added when reorganizing the code.Artur Grabowski
2002-10-06Move out the execution of vmcmds into a separate function.Artur Grabowski
2002-10-02make it compile w/ DEBUG by syncing w/ exec.h; deraadt@ okMichael Shalayeff
2002-07-21Map stack pages without VM_PROT_EXECUTE. Notice that right now thisArtur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
2001-11-28Sync in more uvm changes from NetBSD.Artur Grabowski
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
2001-11-07Add an alignment argument to uvm_map that specifies an alignment hintArtur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
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
2000-11-06Don't bomb when the length of pagedvn vm_cmd is not page aligned.Artur Grabowski
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