CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/09/23 02:00:48

Modified files:
        sys/kern       : kern_sysctl.c tty.c 
        sys/uvm        : uvm_map.c 

Log message:
Do not access VM spaces of exiting processes in sysctl(2).

Now that VM spaces are purged during exit1() w/o KERNEL_LOCK(), there is
no mechanim to grab a valid reference on the exiting process' `ps_vmspace' .

So extend existing checks for zombies to PS_EXITING processes to prevent
similar races.

Reported by gerhard@, ok claudio@

Reply via email to