| 585 | #endif |
| 586 | #define mac_vnode_check_stat_enabled() __predict_false(mac_vnode_check_stat_fp_flag) |
| 587 | static inline int |
| 588 | mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, |
| 589 | struct vnode *vp) |
| 590 | { |
| 591 | |
| 592 | mac_vnode_assert_locked(vp, "mac_vnode_check_stat"); |
| 593 | if (mac_vnode_check_stat_enabled()) |
| 594 | return (mac_vnode_check_stat_impl(active_cred, file_cred, vp)); |
| 595 | return (0); |
| 596 | } |
| 597 | |
| 598 | int mac_vnode_check_read_impl(struct ucred *active_cred, |
| 599 | struct ucred *file_cred, struct vnode *vp); |
nothing calls this directly
no test coverage detected