Contained WithinFind More DocumentationFeatured Support Resources | PDF로 이 문서 다운로드 (1911 KB)
getplabel(3TSOL)Name | Synopsis | Description | Return Values | Errors | Attributes | See Also | Notes Name
Synopsiscc [flag...] file... -ltsol [library...] #include <tsol/label.h> int getplabel(m_label_t *label_p); DescriptionThe getplabel() function obtains the sensitivity label of the calling process. Return ValuesUpon successful completion, getplabel() returns 0. Otherwise it returns -1, label_p is unchanged, and errno is set to indicate the error. Errors
The getplabel() function fails and label_p does not refer to a valid sensitivity label if: AttributesSee attributes(5) for descriptions of the following attributes:
See Alsoucred_getlabel(3C), libtsol(3LIB), m_label_alloc(3TSOL), m_label_free(3TSOL), attributes(5) Obtaining a Process Label in Solaris Trusted Extensions Developer’s Guide NotesThe functionality described on this manual page is available only if the system is configured with Trusted Extensions. This function returns different values for system processes than ucred_getlabel(3C) returns. Name | Synopsis | Description | Return Values | Errors | Attributes | See Also | Notes |
||||||