Lines Matching refs:psem
85 mac_posixsem_label_init(struct pseminfo *psem)
88 psem->psem_label = mac_posixsem_label_alloc();
100 mac_posixsem_label_destroy(struct pseminfo *psem)
103 mac_posixsem_label_free(psem->psem_label);
104 psem->psem_label = NULL;
108 mac_posixsem_label_associate(kauth_cred_t cred, struct pseminfo *psem,
112 MAC_PERFORM(posixsem_label_associate, cred, psem, psem->psem_label, name);
118 struct pseminfo *psem, struct label *plabel,
122 psem, plabel, vp, vlabel);
139 mac_posixsem_check_open(kauth_cred_t cred, struct pseminfo *psem)
146 MAC_CHECK(posixsem_check_open, cred, psem,
147 psem->psem_label);
153 mac_posixsem_check_post(kauth_cred_t cred, struct pseminfo *psem)
160 MAC_CHECK(posixsem_check_post, cred, psem, psem->psem_label);
166 mac_posixsem_check_unlink(kauth_cred_t cred, struct pseminfo *psem,
174 MAC_CHECK(posixsem_check_unlink, cred, psem, psem->psem_label, name);
180 mac_posixsem_check_wait(kauth_cred_t cred, struct pseminfo *psem)
187 MAC_CHECK(posixsem_check_wait, cred, psem, psem->psem_label);