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

Function mac_proc_label_alloc

freebsd/security/mac/mac_process.c:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 struct ucred *cred, struct vm_map *map);
89
90static struct label *
91mac_proc_label_alloc(void)
92{
93 struct label *label;
94
95 label = mac_labelzone_alloc(M_WAITOK);
96 MAC_POLICY_PERFORM(proc_init_label, label);
97 return (label);
98}
99
100void
101mac_proc_init(struct proc *p)

Callers 1

mac_proc_initFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected