The getmsgqcmwlabel(2) routine gets the message queue CMW label.
The msggetl(2) routine creates a message descriptor at the specified sensitivity label.
See the msgget(2) and msgctl(2) man pages.
int getmsgqcmwlabel(int msqid, bclabel_t *cmwlabel); int msggetl(key_t key, int msgflg, bslabel_t *senslabel);