summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/aspa.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2022-11-04 09:36:45 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2022-11-04 09:36:45 +0000
commit7d5ffd488437dd0b1bbc4e51c7141e73840c6635 (patch)
treed472c256d1863a8409074630372dea5be7323f97 /usr.sbin/rpki-client/aspa.c
parent28e2ce9fd0de14b39493bdd1dbed33194d403930 (diff)
Assert the VM map lock is held in function used by mmap/mprotect/munmap.
Also grab the lock in uvm_map_teardown() and uvm_map_deallocate() to satisfy the assertions. Grabbing the lock there shouldn't be strictly necessary, because no other reference to the map should exist when the reaper is holding it, but it doesn't hurt and makes our life easier. Inputs & tests from Ivo van der Sangen, tb@, gnezdo@, kn@ kettenis@ and tb@ agree with the direction, ok kn@
Diffstat (limited to 'usr.sbin/rpki-client/aspa.c')
0 files changed, 0 insertions, 0 deletions