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

Function mac_vnode_check_getacl

freebsd/security/mac/mac_vfs.c:494–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492 "struct vnode *", "acl_type_t");
493
494int
495mac_vnode_check_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type)
496{
497 int error;
498
499 ASSERT_VOP_LOCKED(vp, "mac_vnode_check_getacl");
500
501 MAC_POLICY_CHECK(vnode_check_getacl, cred, vp, vp->v_label, type);
502 MAC_CHECK_PROBE3(vnode_check_getacl, error, cred, vp, type);
503
504 return (error);
505}
506
507MAC_CHECK_PROBE_DEFINE4(vnode_check_getextattr, "struct ucred *",
508 "struct vnode *", "int", "const char *");

Callers 1

vacl_get_aclFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected