summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
2019-04-02BOGO_PC is an invalid userland address, which indicates kbind() is nowTheo de Raadt
2019-03-01New mmap(2) flag: MAP_CONCEAL.cheloha
2019-01-11mincore() is a relic from the past, exposing physical machine informationTheo de Raadt
2019-01-10Make mincore lie. The nature of shared memory means it can spy on whatTed Unangst
2018-08-15Push back the kernel lock in sys_mmap(2) a little bit more now thatMark Kettenis
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-11Can mask MAP_STACK by name rather than numberTheo de Raadt
2018-01-15mask out (ie. ignore) the bit which will be MAP_STACK in the future,Theo de Raadt
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-11-30__MAP_NOFAULT doesn't make sense with anon mappings, so return EINVAL ifPhilip Guenther
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
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