svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
setclearance(3tsol)
Trusted Extensions Library Functions setclearance(3TSOL)
NAME
setclearance - set process clearance
SYNOPSIS
cc [flag...] file... -ltsol [library...]
#include <tsol/label.h>
int setclearance(m_label_t *label_p);
DESCRIPTION
The setclearance() function sets the clearance of the calling process.
The new clearance must be dominated by the current process clearance.
RETURN VALUES
Upon successful completion, setclearance() returns 0. Otherwise it
returns -1, label_p is unchanged, and errno is set to indicate the
error.
ERRORS
The setclearance() function fails and label_p does not refer to a valid
clearance if:
EFAULT label_p points to an invalid address.
EINVAL invalid clearance value
ENOTSUP the function is not supported with Trusted Extensions
ENOMEM insufficient memory
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ Avail‐
abilitysystem/file_labeling
SEE ALSO
libtsol(3LIB), m_label(3TSOL), m_label(3TSOL), attributes(7)
Oracle Solaris 11.4 19 Aug 2014 setclearance(3TSOL)