CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/10/14 12:27:29
Modified files: sys/sys : proc.h sys/kern : init_main.c kern_exit.c kern_fork.c kern_prot.c Log message: Back-in; problems were apparently elsewhere. Put a reference count in struct process to prevent use-after-free if the main thread reaches the reaper ahead of some other thread in the process. Use the reference count to update the user process count correctly when changin real uid. "please re-commit before something else nasty comes in" deraadt@