BSDE_RULE_TO_STRING(3) |
FreeBSD Library Functions Manual |
BSDE_RULE_TO_STRING(3) |
名称
bsde_rule_to_string —
ugidfw 規則をテキスト表現に変換する
ライブラリ
File System Firewall Interface Library (libugidfw, -lugidfw)
書式
#include < ugidfw.h>
int
bsde_rule_to_string( struct mac_bsdextended_rule *rule, char *buf, size_t buflen);
解説
bsde_rule_to_string() 機能は、内部の表現の規則 (
struct mac_bsdextended_rule) をテキスト表現に変換して、
buf (終端の
ヌル文字 を含んで) に
buflen バイトまで書き込みます。
戻り値
bsde_rule_to_string() 関数は変換が切り詰められたなら、-1 を返します。そうでなければ、値 0 を返します。
作者
このソフトウェアは、 DARPA CHATS 研究プログラムの一環として、 DARPA/SPAWAR 契約 N66001-01-C-8035 (“CBOSS”) の下で Network Associates Laboratories, the Security Research Division of Network Associates, Inc. によって
FreeBSD プロジェクトに寄贈されました。