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

Function mac_pipe_label_alloc

freebsd/security/mac/mac_pipe.c:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60#include <security/mac/mac_policy.h>
61
62struct label *
63mac_pipe_label_alloc(void)
64{
65 struct label *label;
66
67 label = mac_labelzone_alloc(M_WAITOK);
68 MAC_POLICY_PERFORM(pipe_init_label, label);
69 return (label);
70}
71
72void
73mac_pipe_init(struct pipepair *pp)

Callers 3

mac_pipe_initFunction · 0.85
sys___mac_get_fdFunction · 0.85
sys___mac_set_fdFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected