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

Function mac_cred_label_alloc

freebsd/security/mac/mac_cred.c:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76#include <security/mac/mac_policy.h>
77
78struct label *
79mac_cred_label_alloc(void)
80{
81 struct label *label;
82
83 label = mac_labelzone_alloc(M_WAITOK);
84 MAC_POLICY_PERFORM(cred_init_label, label);
85 return (label);
86}
87
88void
89mac_cred_init(struct ucred *cred)

Callers 3

mac_execve_enterFunction · 0.85
sys___mac_set_procFunction · 0.85
mac_cred_initFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected