summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
2016-10-05Display/test/use the process PID, not the thread's TID, in a few places.Philip Guenther
2016-09-16move the uvm_map_addr RB tree from RB macros to the RBT functionsDavid Gwynne
2016-08-18uvm_wxcheck() should only abort the process if kern.wxabort is set.Theo de Raadt
2016-08-08W^X violations are only permitted for binaries marked "wxneeded" onTheo de Raadt
2016-07-13Since mappings established using __MAP_NOFAULT will be converted into anonymousMark Kettenis
2016-07-13Revert previous; the __MAP_NOFAULT test is inverted and the commit message isMark Kettenis
2016-07-13Since mappings established using __MAP_NOFAIL will be converted into anonymousMark Kettenis
2016-06-08Dereference p_p once rather than 4 times.Theo de Raadt
2016-06-08hppa & mips64 now can do the full W^X check. (Make sure you haveTheo de Raadt
2016-06-04If a process trips the W^X violation check, abort it unless it cameStuart Henderson
2016-06-02Prevent vsize_t underflow when checking RLIMIT_DATA, which made theIngo Schwarze
2016-06-01Delete the kernel compat bits for old mmap() MAP_OLD* flagsPhilip Guenther
2016-05-30Identify W^X labelled binaries at execve() time based upon WX_OPENBSD_WXNEEDEDTheo de Raadt
2016-05-30backout to insert correct commit messageTheo de Raadt
2016-05-30*** empty log message ***Theo de Raadt
2016-05-27W^X violations are no longer permitted by default. A kernel log messageTheo de Raadt
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
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