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:
parent
1ea030d8fe
commit
5da271f5a6
@ -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
|
* 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
|
* coredump routine if there is one; if there _is not_ one, it returns
|
||||||
* ENOSYS; otherwise it returns the error from the process-specific routine.
|
* ENOSYS; otherwise it returns the error from the process-specific routine.
|
||||||
|
*
|
||||||
|
* XXX: VOP_GETATTR() here requires holding the vnode lock.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user