Add missing DTrace probe invocation to mac_vnode_check_open; the probe
was declared, but never used. MFC after: 3 days Sponsored by: Google, Inc.
This commit is contained in:
parent
880cb81c5a
commit
a959b1f02c
@ -637,6 +637,8 @@ mac_vnode_check_open(struct ucred *cred, struct vnode *vp, accmode_t accmode)
|
||||
ASSERT_VOP_LOCKED(vp, "mac_vnode_check_open");
|
||||
|
||||
MAC_POLICY_CHECK(vnode_check_open, cred, vp, vp->v_label, accmode);
|
||||
MAC_CHECK_PROBE3(vnode_check_open, error, cred, vp, accmode);
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user