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

Function mac_posixsem_label_alloc

freebsd/security/mac/mac_posix_sem.c:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56#include <security/mac/mac_policy.h>
57
58static struct label *
59mac_posixsem_label_alloc(void)
60{
61 struct label *label;
62
63 label = mac_labelzone_alloc(M_WAITOK);
64 MAC_POLICY_PERFORM(posixsem_init_label, label);
65 return (label);
66}
67
68void
69mac_posixsem_init(struct ksem *ks)

Callers 1

mac_posixsem_initFunction · 0.85

Calls 1

mac_labelzone_allocFunction · 0.85

Tested by

no test coverage detected