The OpenNET Project / Index page

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

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

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

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

    NAME

    getseuserbyname - get SELinux username and level for a given Linux username
     
    

    SYNOPSIS

    #include <selinux/selinux.h>

    int getseuserbyname(const char *linuxuser, char **selinuxuser, char **level);  

    DESCRIPTION

    getseuserbyname retrieves the SELinux username and security level associated with a given Linux username. The SELinux username and security level can then be passed to other libselinux functions such as get_ordered_context_list_with_level and get_default_context_with_level.


    The returned SELinux username and level should be freed by the caller using free.  

    RETURN VALUE

    On success, 0 is returned. On failure, -1 is returned and errno is set appropriately.

    The errors documented for the stat(2) system call are also applicable here.


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUE


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




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

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