The labeling_enable() routine is used to enable a Trusted Extensions system. The labeling_disable() routine is used to disable a Trusted Extensions system. These functions are asynchronous; they return before the enabling or disabling of the system completes. The following routine description includes the prototype declaration for each routine:
The labeling_enable() routine returns 0 upon successful completion. Otherwise, it returns -1 and errno indicates the error.
The labeling_disable() routine returns 0 upon successful completion. Otherwise, it returns -1 and errno indicates the error.
The possible flags are LABELING_DELAY, LABELING_FORCE, and LABELING_SYSLOG. See the labeling_enable (3TSOL) man page.