| 891 | "struct vnode *"); |
| 892 | |
| 893 | int |
| 894 | mac_vnode_check_stat_impl(struct ucred *active_cred, struct ucred *file_cred, |
| 895 | struct vnode *vp) |
| 896 | { |
| 897 | int error; |
| 898 | |
| 899 | ASSERT_VOP_LOCKED(vp, "mac_vnode_check_stat"); |
| 900 | |
| 901 | MAC_POLICY_CHECK(vnode_check_stat, active_cred, file_cred, vp, |
| 902 | vp->v_label); |
| 903 | MAC_CHECK_PROBE3(vnode_check_stat, error, active_cred, file_cred, |
| 904 | vp); |
| 905 | |
| 906 | return (error); |
| 907 | } |
| 908 | |
| 909 | MAC_CHECK_PROBE_DEFINE4(vnode_check_unlink, "struct ucred *", |
| 910 | "struct vnode *", "struct vnode *", "struct componentname *"); |
no outgoing calls
no test coverage detected