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

Function mac_vnode_init

freebsd/security/mac/mac_vfs.c:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void
139mac_vnode_init(struct vnode *vp)
140{
141
142 if (mac_labeled & MPC_OBJECT_VNODE)
143 vp->v_label = mac_vnode_label_alloc();
144 else
145 vp->v_label = NULL;
146}
147
148static void
149mac_devfs_label_free(struct label *label)

Callers 1

vfs_subr.cFile · 0.85

Calls 1

mac_vnode_label_allocFunction · 0.85

Tested by

no test coverage detected