Date: Fri, 13 Aug 2004 20:27:56 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/pseudofs pseudofs_vnops.c Message-ID: <200408132027.i7DKRud6003713@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-08-13 20:27:56 UTC FreeBSD src repository Modified files: sys/fs/pseudofs pseudofs_vnops.c Log: Commit a work-around for a more general bug involving process state: check whether p_ucred is NULL or not in pfs_getattr() before dereferencing the credential, and return ENOENT if there wasn't one. This is a symptom of a larger problem, wherein pfind() can return references to incompletely initialized processes, and we instead ought to not return them, or check the process state before acting on the process. Reported by: kris Discussed with: tjr, others Revision Changes Path 1.45 +11 -0 src/sys/fs/pseudofs/pseudofs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408132027.i7DKRud6003713>