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

개요

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

getplabel(3tsol)

getplabel(3TSOL)     Trusted Extensions Library Functions     getplabel(3TSOL)

NAME
       getplabel - get process label

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


       #include <tsol/label.h>

       int getplabel(m_label_t *label_p);

DESCRIPTION
       The  getplabel()  function obtains the sensitivity label of the calling
       process.

RETURN VALUES
       Upon 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:

       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


SEE ALSO
       ucred_getlabel(3C),  libtsol(3LIB),  m_label_free(3TSOL),   m_label_al‐
       loc(3TSOL), attributes(7)


       Obtaining a Process Label in Trusted Extensions Developer's Guide

NOTES
       The  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.

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