5.3-RELEASE TODO
Tim Robbins
tjr at freebsd.org
Thu Jul 15 18:07:18 PDT 2004
On Thu, Jul 15, 2004 at 03:20:19PM -0700, Colin Percival wrote:
> At 15:04 15/07/2004, Kris Kennaway wrote:
> >* linprocfs
> >[...]
> > if (pvd->pvd_pid != NO_PID) {
> > if ((proc = pfind(pvd->pvd_pid)) == NULL)
> > PFS_RETURN (ENOENT);
> >--> vap->va_uid = proc->p_ucred->cr_ruid;
> >
> >rwatson has a patch that works around this particular null pointer
> >deref, but the underlying cause is not addressed.
>
> This looks like the "embryonic processes are added to allproc and
> p_hash too soon" bug (cf. kern/68364). Last I heard, tjr was going
> to fix this in the next few days.
I was going to, but it turns out that my original solution of not
putting "embryonic" processes on allproc would further break checkdirs() --
there are already a few kinds of races that can happen there, and I don't
want to add more.
Tim
More information about the freebsd-current
mailing list