summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
2023-05-20Do not grab the `vmmaplk' recursively, prevent a self-deadlock.Martin Pieuchot
2023-05-13Put back in the simplification of the aiodone daemon.Martin Pieuchot
2023-05-09Inline once-used variable to sync all uvm_map_clean() callersKlemens Nanni
2023-04-26Backout previous commit:Alexander Bluhm
2023-04-25Do not grab the `vmmaplk' recursively, prevent a self-deadlock.Martin Pieuchot
2023-04-13pmap_copy() has never, ever, been implemented in any of the platforms OpenBSDMiod Vallat
2023-04-11fix double words in commentsJonathan Gray
2023-04-10spellingJonathan Gray
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2023-02-24Do not held the vm_map lock while flushing pages in msync(2) and madvise(2).Martin Pieuchot
2023-02-16Add pinsyscall(2). With this you can tell the kernel the locationTheo de Raadt
2023-02-13Also lock the map in the execve-driven calls to uvm_map_check_copyin_add()Theo de Raadt
2023-02-13Upon fork, copy the copyin_check structure to the new map, otherwiseTheo de Raadt
2023-02-11non-padded 64-bit system calls arrived 2021/12/23, over a year ago.Theo de Raadt
2023-02-11I forgot to copy the msyscall interlock flag to forked processes, soTheo de Raadt
2023-01-31On systems without xonly mmu hardware-enforcement, we can still mitigateTheo de Raadt
2023-01-26delete repeated wordTheo de Raadt
2023-01-25In the previous commit, FIXPROT would upgrade a PROT_NONE mapping too far.Theo de Raadt
2023-01-24oops, a silly typoTheo de Raadt
2023-01-24uvm_map_extract() UVM_EXTRACT_FIXPROT alias mappings are only used forTheo de Raadt
2023-01-16Currently we disable kbind(2) for static program from libc.a'sPhilip Guenther
2023-01-13Since the signal trampoline is now execute-only we no longer write itMark Kettenis
2023-01-10The uvm_swap_data_lock mutex can now be taken without holding the kernelMark Kettenis
2023-01-04Chuck Cranor rescinded the advertising clause of uvm_mmap.c inJonathan Gray
2023-01-01With the introduction of the PMAP_PREFER_{ALIGN,OFFSET} macros a long time ago,Miod Vallat
2022-12-18spellingTheo de Raadt
2022-12-08Call vget(9) in uvn_put() to make sure we hold a reference if we're calledMark Kettenis
2022-11-17With regret, place mutexes after struct vm_map fields which are inspectedTheo de Raadt
2022-11-17stack growth from setrlimit was never updated to set UVM_ET_STACK onTheo de Raadt
2022-11-04Assert the VM map lock is held in function used by mmap/mprotect/munmap.Martin Pieuchot
2022-10-31Fix VMMAP_DEBUG code to compile with not-so-recent changes.Martin Pieuchot
2022-10-24uvm_unmap_remove() traverses the entries in the start,end range scanningTheo de Raadt
2022-10-21Recent chrome renderers try to change some immutable RW region to R.Theo de Raadt
2022-10-21the debug "name" parameter to uvm_map_immutable() is no longer neededTheo de Raadt
2022-10-20Access to `u_flags' should be serialized by the `vmobjlock'.Martin Pieuchot
2022-10-16Rather than marking MAP_STACK on entries for sigaltstack() [2 days ago],Theo de Raadt
2022-10-15remove one of the debug messagesTheo de Raadt
2022-10-15During the MAP_STACK introduction in 2018, sigaltstack() became aTheo de Raadt
2022-10-11add missing unlock in swapmount()Jonathan Gray
2022-10-07Add mimmutable(2) system call which locks the permissions (PROT_*) ofTheo de Raadt
2022-10-07new UVM_ET_IMMUTABLE flag marks a uvm entry as immutable.Theo de Raadt
2022-09-29There no longer is any KVM_ET_* to keep in sync with UVM_ET_*, soTheo de Raadt
2022-09-21Revert UVM_VNODE_CANPERSIST removal, it exposes an issue on arm64.Martin Pieuchot
2022-09-10Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise.Miod Vallat
2022-09-10Get rid of the extra vnode reference known as UVM_VNODE_CANPERSIST.Martin Pieuchot
2022-09-04spellingJonathan Gray
2022-08-31Introduce a function to trylock a page instead of duplicating the logic.Martin Pieuchot
2022-08-31Lock vmobjlock then check u_flags & UVM_VNODE_VALID in uvn_attachGreg Steuck
2022-08-31Refine the change in rev 1.125: the UVM mitigation for CoW faultingPhilip Guenther
2022-08-30Move duplicated code to free swap resources into its own function.Martin Pieuchot