The OpenNET Project / Index page

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

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

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

securelevel_gt (9)
  • >> securelevel_gt (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    securelevel_gt , securelevel_ge
    
     - test active securelevel
    
     
    

    SYNOPSIS

       #include <sys/types.h>
       #include <sys/proc.h>
    int securelevel_gt (struct ucred *cr int level);
    int securelevel_ge (struct ucred *cr int level);
     

    DESCRIPTION

    These functions test the active security level against the given Fa level . If the calling credential Fa cr was imprisoned by the jail(2) system call, and has a different security level set than the host environment, the security level with the highest value is used.

    The securelevel_gt ();
    function will evaluate whether or not the active security level is greater than the supplied Fa level .

    The securelevel_ge ();
    function will evaluate whether or not the active security level is greater than or equal to the supplied Fa level .  

    RETURN VALUES

    These functions return Er EPERM if condition evaluated to true, and 0 otherwise.  

    SEE ALSO

    securelevel(7)


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


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




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

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