The getplabel() and ucred_getlabel() routines are used to access the sensitivity label of a process. The following routine descriptions include the prototype declaration for each routine:
The getplabel() routine obtains the process label of the calling process.
See the getplabel(3TSOL) man page.
The ucred_getlabel() routine obtains the label in the credential of the remote process.
See the ucred_getlabel(3C) man page. For an example of this routine's use, see get_peer_label() Label-Aware Function.