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

Function mac_proc_init

freebsd/security/mac/mac_process.c:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void
101mac_proc_init(struct proc *p)
102{
103
104 if (mac_labeled & MPC_OBJECT_PROC)
105 p->p_label = mac_proc_label_alloc();
106 else
107 p->p_label = NULL;
108}
109
110static void
111mac_proc_label_free(struct label *label)

Callers 1

fork1Function · 0.85

Calls 1

mac_proc_label_allocFunction · 0.85

Tested by

no test coverage detected