Write to the log using the tracer's credentials.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f14fbe72ec
commit
7ae27ff963
@ -65,7 +65,7 @@ filemon_output(struct filemon *filemon, char *msg, size_t len)
|
||||
if (filemon->fp->f_type == DTYPE_VNODE)
|
||||
bwillwrite();
|
||||
|
||||
error = fo_write(filemon->fp, &auio, curthread->td_ucred, 0, curthread);
|
||||
error = fo_write(filemon->fp, &auio, filemon->cred, 0, curthread);
|
||||
if (error != 0)
|
||||
filemon->error = error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user