CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/12 18:32:04
Modified files:
sys/kern : kern_sysctl.c
Log message:
Fix `findpr' dereference after context switch in sysctl_proc_vmmap().
Do the sleeping malloc() before process search. Take the reference on
found process descriptor to make concurrent exit1() wait us during the
sleep within fill_vmmap().
I moved the `oldlen' checks and `start' copyin() before process search
to make the error path shorter. This reorders the error path, but they
are just the passed parameters checks which are not related to
found process.
ok kirill