The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    bsde_add_rule
    
     
    bsde_get_rule
    
     
    bsde_set_rule
    
     
    bsde_delete_rule
    
     - file system firewall rules list management
    
     
    

    LIBRARY

    Lb libugidfw
    
     
    

    SYNOPSIS

       #include <ugidfw.h>
    int Fo bsde_add_rule Fa int *rulenum struct mac_bsdextended_rule *rule Fa size_t buflen char *errstr Fc Ft int Fo bsde_get_rule Fa int rulenum struct mac_bsdextended_rule *rule Fa size_t errlen char *errstr Fc Ft int Fo bsde_set_rule Fa int rulenum struct mac_bsdextended_rule *rule Fa size_t errlen char *errstr Fc Ft int bsde_delete_rule (int rulenum size_t errlen char *errstr);
     

    DESCRIPTION

    The bsde_add_rule ();
    function fills the next available rule (in Vt struct mac_bsdextended_rule form, either from bsde_get_rule ();
    or bsde_parse_rule3). If an error occurs, Fa *errstr is filled with the error string (up to Fa errlen characters, including the terminating NUL ) If successful and Fa rulenum is non- NULL the rule number used will be returned in Fa *rulenum .

    The bsde_get_rule ();
    function fills in Fa *rule with the rule numbered Fa rulenum . If an error occurs, Fa *errstr is filled in with the error string (up to Fa errlen characters, including the terminating NUL )

    The bsde_set_rule ();
    function fills the slot numbered Fa rulenum with the specified rule (in Vt struct mac_bsdextended_rule form, either from bsde_get_rule ();
    or bsde_parse_rule3). If an error occurs, Fa *errstr is filled with the error string (up to Fa errlen characters, including the terminating NUL )

    The bsde_delete_rule ();
    function deletes the rule numbered Fa rulenum . If an error occurs, Fa *errstr is filled with the error string (up to Fa errlen characters, including the terminating NUL )  

    RETURN VALUES

    The bsde_get_rule (,);
    bsde_set_rule (,);
    and bsde_delete_rule ();
    functions return 0 if successful; otherwise the value -1 is returned and the value of Fa *errstr is filled in as documented in Sx DESCRIPTION .  

    SEE ALSO

    bsde_get_rule_count3, bsde_get_rule_slots3, bsde_parse_rule3, bsde_parse_rule_string3, bsde_rule_to_string3, libugidfw(3), mac_bsdextended4, ugidfw(8)  

    AUTHORS

    This software was contributed to the Fx Project by Network Associates Labs, the Security Research Division of Network Associates Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS'' ) as part of the DARPA CHATS research program.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    AUTHORS


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




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

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