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

Function mac_vnode_check_deleteacl

freebsd/security/mac/mac_vfs.c:440–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438 "struct vnode *", "acl_type_t");
439
440int
441mac_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp,
442 acl_type_t type)
443{
444 int error;
445
446 ASSERT_VOP_LOCKED(vp, "mac_vnode_check_deleteacl");
447
448 MAC_POLICY_CHECK(vnode_check_deleteacl, cred, vp, vp->v_label, type);
449 MAC_CHECK_PROBE3(vnode_check_deleteacl, error, cred, vp, type);
450
451 return (error);
452}
453
454MAC_CHECK_PROBE_DEFINE4(vnode_check_deleteextattr, "struct ucred *",
455 "struct vnode *", "int", "const char *");

Callers 1

vacl_deleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected