summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
2016-03-29Remove dead assignments and now unused variables.Charles Longeau
2016-03-09remove vaxismsTheo de Raadt
2015-11-11Remove the superfluous typedef uvm_flag_t (unsigned int). Also, fix anmmcc
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-09-30implement new "prot_exec" tame(2) request:Sebastien Marie
2015-09-28the kernel lock is no longer needed in the fixed case since uvm_mapTed Unangst
2015-09-28add a flag to indicate to uvm_map that it should unmap to make space.Ted Unangst
2015-09-26matthew noticed there's a race where we are using the kernel lock to tieTed Unangst
2015-09-23Corect a kbind comment to describe the version that was settled on: no oldPhilip Guenther
2015-09-06sizes for free(); ok semarieTheo de Raadt
2015-08-25In sys_kbind(), pages from uvm_map_extract() must be written to with kcopy()Philip Guenther
2015-07-20Actually return a value from sys_kbind() in the non-ld.so case, or theMiod Vallat
2015-07-20include sys/user.h to unbreak the build on at least arm after rev 1.110Jonathan Gray
2015-07-20Add kbind, a syscall for ld.so to use to securely and efficiently updatePhilip Guenther
2015-05-07Pass a thread pointer instead of its file descriptor table to getvnode(9).Martin Pieuchot
2015-03-30Extend uvm_map_hint() to get an address range as extra arguments, and makeMiod Vallat
2015-02-13Include sys/stdint.h for SIZE_MAX instead of relying on the misplacedTodd C. Miller
2015-02-07recombine some of the split uvm_mmap functions. the precondition checksTed Unangst
2015-02-06-Split out uvm_mmap and uvm_map into a version for anon's and a versionBob Beck
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-09Sprinkle in a little more mallocarray().Doug Hogan
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-10-03Introduce __MAP_NOFAULT, a mmap(2) flag that makes sure a mapping will notMark Kettenis
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08bye bye UBC; ok beck dlgTheo de Raadt
2014-07-02Use real parameter types for u{dv,vn}_attach() instead of void *Matthew Dempsky
2014-06-27Cleanup support for legacy mmap flagsMatthew Dempsky
2014-04-13compress code by turning four line comments into one line comments.Ted Unangst
2013-05-30remove lots of comments about locking per beck's requestTed Unangst
2013-05-30remove simple_locks from uvm code. ok beck deraadtTed Unangst
2012-07-21Add a new mmap(2) flag __MAP_NOREMAP for use with MAP_FIXED toMatthew Dempsky
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-04-10Return EINVAL on 0-byte mmap invocation.Ariane van der Steldt
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-07-09More syscalls.master cleanup:Matthew Dempsky
2011-07-05msync has some code that is based on *old* bsd behaviour whereOwain Ainsworth
2011-07-04move the specfs code to a place people can see it; ok guenther thib krwTheo de Raadt
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2010-12-24add a param to uvm_map_hint to not skip over the heap, and use it as a lastTed Unangst
2010-12-15add a BRKSIZ define and use it for the heap gap constant, decouplingTed Unangst
2010-05-21Fix a locking problem in mincore where it was possible for us to sleepOwain Ainsworth
2009-07-25Add an extra argument to uvm_unmap_remove(), for the caller to tell itMiod Vallat
2009-07-22Put the PG_RELEASED changes diff back in.Owain Ainsworth
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-06-17date based reversion of uvm to the 4th May.Owain Ainsworth
2009-06-16Backout all changes to uvm after pmemrange (which will be backed outOwain Ainsworth