setclearance(3tsol) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

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)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3