summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_mmap.c
AgeCommit message (Expand)Author
2022-08-01some ports bootstraps, and go internals, need a bit more time to adaptTheo de Raadt
2022-07-20the _pad_ system calls from 2021/12/23 can go awayTheo de Raadt
2022-06-27kbind(2): unlock syscall, push kernel lock down to binding loopScott Soule Cheloha
2022-01-19Grab the kernel lock in uvm_wxcheck() when aborting the processKlemens Nanni
2022-01-05Remove kbind(2)'s restriction that a target buffer not cross pagePhilip Guenther
2021-12-23Roll the syscalls that have an off_t argument to remove the explicit padding.Philip Guenther
2021-12-10Revert "kbind(2): disable system call if not initialized beforePhilip Guenther
2021-12-05kbind(2): disable system call if not initialized before first __tfork(2)Scott Soule Cheloha
2021-03-26Remove parenthesis around return value to reduce the diff with NetBSD.Martin Pieuchot
2020-10-07Do not release the KERNEL_LOCK() when mmap(2)ing files.Martin Pieuchot
2020-10-04Recent changes for PROT_NONE pages to not count against resource limits,Theo de Raadt
2020-03-04Do not count pages mapped as PROT_NONE against the RLIMIT_DATA limit.Mark Kettenis
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-28Remove end of line whitespace.Mike Larkin
2019-11-27Add dummy msyscall(2) system call which is currently a noop. This willTheo de Raadt
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-05-11move the noise about W^X mapping failure inside the sysctl kern.wxabortTheo de Raadt
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