The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

getplabel (3)
  • >> getplabel (3) ( Solaris man: Библиотечные вызовы )
  •  

    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(5) for descriptions of the following attributes:

    ATTRIBUTE TYPEATTRIBUTE VALUE

    Interface StabilityCommitted

    MT-Level

     

    SEE ALSO

    ucred_getlabel(3C), libtsol(3LIB), m_label_alloc(3TSOL), m_label_free(3TSOL), attributes(5)

    Obtaining a Process Label in Solaris 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.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    ATTRIBUTES
    SEE ALSO
    NOTES


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру