| 666 | "struct vnode *"); |
| 667 | |
| 668 | int |
| 669 | mac_vnode_check_read_impl(struct ucred *active_cred, struct ucred *file_cred, |
| 670 | struct vnode *vp) |
| 671 | { |
| 672 | int error; |
| 673 | |
| 674 | ASSERT_VOP_LOCKED(vp, "mac_vnode_check_read"); |
| 675 | |
| 676 | MAC_POLICY_CHECK(vnode_check_read, active_cred, file_cred, vp, |
| 677 | vp->v_label); |
| 678 | MAC_CHECK_PROBE3(vnode_check_read, error, active_cred, file_cred, |
| 679 | vp); |
| 680 | |
| 681 | return (error); |
| 682 | } |
| 683 | |
| 684 | MAC_CHECK_PROBE_DEFINE2(vnode_check_readdir, "struct ucred *", |
| 685 | "struct vnode *"); |
no outgoing calls
no test coverage detected