summaryrefslogtreecommitdiff
path: root/sys/uvm
AgeCommit message (Expand)Author
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
2022-08-29Use a rwlock and a mutex to serialize access to global swap variables.Martin Pieuchot
2022-08-29static inline, not inline staticJonathan Gray
2022-08-22Simplify locking by using an intermediate lock variable.Martin Pieuchot
2022-08-19Grab the mutex before iterating on the global list.Martin Pieuchot
2022-08-15remove FSPACE macros, unused after uvm_map_sel_limits() removalJonathan Gray
2022-08-15remove unused uvm_aiobuf_poolJonathan Gray
2022-08-15remove unused uvm_map_sel_limits()Jonathan Gray
2022-08-07Use PMAP_PREFER_ALIGN() == 0 rather than !defined(PMAP_PREFER) to enable theMiod Vallat
2022-08-07Move fallback PMAP_PREFER definitions from uvm_map.c to uvm_pmap.h for themMiod Vallat
2022-08-06blist: use swblk_t type (defined in sys/blist.h)Sebastien Marie
2022-08-02Bring back the direct map optimization when PMAP_PREFER isn't defined.Martin Pieuchot
2022-08-01some ports bootstraps, and go internals, need a bit more time to adaptTheo de Raadt
2022-08-01Introduce and use uvm_pagewait() where PG_WANTED is set.Martin Pieuchot
2022-07-29Replace the swap extent(9) usage by a blist data structure.Sebastien Marie
2022-07-24Revert simplification of the aiodone daemon it breaks swap on arm64.Martin Pieuchot