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

Function mac_sysvsem_init

freebsd/security/mac/mac_sysv_sem.c:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void
75mac_sysvsem_init(struct semid_kernel *semakptr)
76{
77
78 if (mac_labeled & MPC_OBJECT_SYSVSEM)
79 semakptr->label = mac_sysv_sem_label_alloc();
80 else
81 semakptr->label = NULL;
82}
83
84static void
85mac_sysv_sem_label_free(struct label *label)

Callers 1

seminitFunction · 0.85

Calls 1

mac_sysv_sem_label_allocFunction · 0.85

Tested by

no test coverage detected