summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_map.c
AgeCommit message (Expand)Author
2024-07-24Move uvm_exit() outside of the KERNEL_LOCK() in the reaper.Martin Pieuchot
2024-06-02pledge, MAP_STACK, and pinsyscall failures have been providing failureTheo de Raadt
2024-04-02Delete the msyscall mechanism entirely, since mimmutable+pinsyscalls hasTheo de Raadt
2024-02-21Only return EPERM for immutable regions for the nasty operationsTheo de Raadt
2024-01-21workaround for the static non-PIE instbin "instbin" program on the installTheo de Raadt
2024-01-21For minherit(MAP_INHERIT_ZERO) upon readonly memory return EPERM.Theo de Raadt
2024-01-21madvise(2) and msync(2) have some memory/mapping destructive ops which shouldTheo de Raadt
2024-01-21oops, brain scrambled trying to squeeze the ifdef into bad placeTheo de Raadt
2024-01-21some bizzare glitch related to ramdisk instbin static binaries, theirTheo de Raadt
2024-01-20Early during mimmutable(2) development, we had a big problem with theTheo de Raadt
2024-01-16The kernel will now read pinsyscall tables out of PT_OPENBSD_SYSCALLS inTheo de Raadt
2023-08-02Remove unused vm_map_upgrade() & vm_map_downgrade().Martin Pieuchot
2023-05-20Do not grab the `vmmaplk' recursively, prevent a self-deadlock.Martin Pieuchot
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-10spellingJonathan Gray
2023-02-24Do not held the vm_map lock while flushing pages in msync(2) and madvise(2).Martin Pieuchot
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-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-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
2022-12-18spellingTheo 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-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-07Add mimmutable(2) system call which locks the permissions (PROT_*) ofTheo de Raadt
2022-08-15remove FSPACE macros, unused after uvm_map_sel_limits() removalJonathan Gray
2022-08-15remove unused uvm_map_sel_limits()Jonathan Gray
2022-08-07Move fallback PMAP_PREFER definitions from uvm_map.c to uvm_pmap.h for themMiod Vallat
2022-05-04Merge swap-backed and object-backed inactive page lists.Martin Pieuchot
2022-03-12Revert holding a read lock on the map while copying out data during sysctl(2).Martin Pieuchot
2022-03-11Hold a read lock on the map while copying out data during a sysctl(2) callMark Kettenis
2022-02-15Backout previous "Unwire with map lock held" (commitid: SsVz7dLGFgR21kFe)Klemens Nanni
2022-02-14Unwire with map lock heldKlemens Nanni
2022-02-11Backout previous "Unwire with map lock held" (commitid: eQBvWUwShD91dN9Z)Klemens Nanni
2022-02-11Backout previous "Assert vm map locks" (commitid: sRNBfzX2dJrxFDmb)Klemens Nanni
2022-02-10Assert vm map locksKlemens Nanni
2022-02-10Unwire with map lock heldKlemens Nanni
2021-12-21Fix a typo in mlock(2) error path triggering a double-free.Martin Pieuchot
2021-12-15Use a per-UVM object lock to serialize the lower part of the fault handler.Martin Pieuchot