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

Function mac_devfs_label_alloc

freebsd/security/mac/mac_vfs.c:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 struct vnode *vp, struct label *intlabel);
87
88static struct label *
89mac_devfs_label_alloc(void)
90{
91 struct label *label;
92
93 label = mac_labelzone_alloc(M_WAITOK);
94 MAC_POLICY_PERFORM(devfs_init_label, label);
95 return (label);
96}
97
98void
99mac_devfs_init(struct devfs_dirent *de)

Callers 1

mac_devfs_initFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected