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

개요

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

getclearance(3tsol)

Trusted Extensions Library Functions                       getclearance(3TSOL)



NAME
       getclearance - get process clearance

SYNOPSIS
       cc [flag...] file... -ltsol [library...]


       #include <tsol/label.h>
       int getclearance(m_label_t *label_p);

DESCRIPTION
       The  getclearance()  function  obtains  the  clearance  of  the calling
       process.

RETURN VALUES
       Upon successful completion,  getclearance()  returns  0.  Otherwise  it
       returns  -1,  label_p  is  unchanged,  and errno is set to indicate the
       error.

ERRORS
       The getclearance() function fails and label_p does not refer to a valid
       clearance if:


       EFAULT    label_p points to an invalid address.



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
       ucred_get(3C),     libtsol(3LIB),    m_label(3TSOL),    m_label(3TSOL),
       attributes(7)



Oracle Solaris 11.4               19 Aug 2014              getclearance(3TSOL)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3