Trusted Solaris Developer's Guide

Shared Memory Regions

The getshmcmwlabel(2) routine gets the shared memory region CMW label.

The shmgetl(2) routine creates a shared memory region at the specified sensitivity label.

 int  getshmcmwlabel(int shmid, bclabel_t *cmwlabel);
 int  shmgetl(key_t key, size_t size, int shmflg, bslabel_t *senslabel);