MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mac_vnode_check_stat

Function mac_vnode_check_stat

freebsd/security/mac/mac_framework.h:587–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585#endif
586#define mac_vnode_check_stat_enabled() __predict_false(mac_vnode_check_stat_fp_flag)
587static inline int
588mac_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
598int mac_vnode_check_read_impl(struct ucred *active_cred,
599 struct ucred *file_cred, struct vnode *vp);

Callers

nothing calls this directly

Calls 2

mac_vnode_assert_lockedFunction · 0.85

Tested by

no test coverage detected