Add a comment indicating that VOP_GETATTR() is called without appropriate

locking in the core dump code.  This should be fixed.
This commit is contained in:
Robert Watson 2002-02-10 21:45:16 +00:00
parent 1ea030d8fe
commit 5da271f5a6

View File

@ -1932,6 +1932,8 @@ const char *name; uid_t uid; pid_t pid; {
* then it passes on a vnode and a size limit to the process-specific
* coredump routine if there is one; if there _is not_ one, it returns
* ENOSYS; otherwise it returns the error from the process-specific routine.
*
* XXX: VOP_GETATTR() here requires holding the vnode lock.
*/
static int