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

Function mac_vnode_label_alloc

freebsd/security/mac/mac_vfs.c:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128struct label *
129mac_vnode_label_alloc(void)
130{
131 struct label *label;
132
133 label = mac_labelzone_alloc(M_WAITOK);
134 MAC_POLICY_PERFORM(vnode_init_label, label);
135 return (label);
136}
137
138void
139mac_vnode_init(struct vnode *vp)

Callers 6

mac_vnode_initFunction · 0.85
sys___mac_get_fdFunction · 0.85
kern___mac_get_pathFunction · 0.85
sys___mac_set_fdFunction · 0.85
kern___mac_set_pathFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected