| 565 | "struct vnode *", "struct componentname *"); |
| 566 | |
| 567 | int |
| 568 | mac_vnode_check_lookup_impl(struct ucred *cred, struct vnode *dvp, |
| 569 | struct componentname *cnp) |
| 570 | { |
| 571 | int error; |
| 572 | |
| 573 | ASSERT_VOP_LOCKED(dvp, "mac_vnode_check_lookup"); |
| 574 | |
| 575 | if ((cnp->cn_flags & NOMACCHECK) != 0) |
| 576 | return (0); |
| 577 | MAC_POLICY_CHECK(vnode_check_lookup, cred, dvp, dvp->v_label, cnp); |
| 578 | MAC_CHECK_PROBE3(vnode_check_lookup, error, cred, dvp, cnp); |
| 579 | |
| 580 | return (error); |
| 581 | } |
| 582 | |
| 583 | MAC_CHECK_PROBE_DEFINE4(vnode_check_mmap, "struct ucred *", "struct vnode *", |
| 584 | "int", "int"); |
no outgoing calls
no test coverage detected