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

Function mac_vnode_destroy

freebsd/security/mac/mac_vfs.c:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void
193mac_vnode_destroy(struct vnode *vp)
194{
195
196 if (vp->v_label != NULL) {
197 mac_vnode_label_free(vp->v_label);
198 vp->v_label = NULL;
199 }
200}
201
202void
203mac_vnode_copy_label(struct label *src, struct label *dest)

Callers 1

freevnodeFunction · 0.85

Calls 1

mac_vnode_label_freeFunction · 0.85

Tested by

no test coverage detected