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

Function mac_posixsem_init

freebsd/security/mac/mac_posix_sem.c:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void
69mac_posixsem_init(struct ksem *ks)
70{
71
72 if (mac_labeled & MPC_OBJECT_POSIXSEM)
73 ks->ks_label = mac_posixsem_label_alloc();
74 else
75 ks->ks_label = NULL;
76}
77
78static void
79mac_posixsem_label_free(struct label *label)

Callers 1

ksem_allocFunction · 0.85

Calls 1

mac_posixsem_label_allocFunction · 0.85

Tested by

no test coverage detected