search for: kern_proc

Displaying 1 result from an estimated 1 matches for "kern_proc".

2003 Jun 30
0
sysctl_out_proc() race in stable w/ patch
There is a rather serious race with copyout() and process termination in -stable. sysctl_kern_proc() loops through the allproc list writing the results to user memory. If it stalls during the copyout (e.g. the user memory has to take a vm_fault) and the process is ripped out from under it it will go looping into never never land. The solution is very simple, simply PHOLD()/PREL...