From 1f7e8301f37d1383a1b54e2fd57a8f750ee42848 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 23 Oct 2010 16:59:39 +0000 Subject: 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. --- sys/security/mac/mac_vfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/security') diff --git a/sys/security/mac/mac_vfs.c b/sys/security/mac/mac_vfs.c index dcd29aa..c4f305b 100644 --- a/sys/security/mac/mac_vfs.c +++ b/sys/security/mac/mac_vfs.c @@ -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); } -- cgit v1.1