函数逻辑报告 |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-27 20:55:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_fill_rule - Fill Smack rule from strings*@subject: subject label string*@object: object label string*@access1: access string*@access2: string with permissions to be removed*@rule: Smack rule*@import: if non-zero, import labels*@len: label length limit
函数原型:static int smk_fill_rule(const char *subject, const char *object, const char *access1, const char *access2, struct smack_parsed_rule *rule, int import, int len)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | subject | |
const char * | object | |
const char * | access1 | |
const char * | access2 | |
struct smack_parsed_rule * | rule | |
int | import | |
int | len |
322 | 如果import则 |
323 | smk_subject等于smk_import_entry - import a label, return the list entry*@string: a text string that might be a Smack label*@len: the maximum size, or zero if it is NULL terminated |
330 | 否则 |
335 | 释放内存 |
338 | smk_subject等于skp |
344 | 释放内存 |
347 | smk_object等于skp |
353 | 否则smk_access2等于smk_access1的反 |
356 | 返回:0 |
名称 | 描述 |
---|---|
smk_parse_rule | smk_parse_rule - parse Smack rule from load string*@data: string to be parsed whose size is SMK_LOADLEN*@rule: Smack rule*@import: if non-zero, import labels* Returns 0 on success, -1 on errors. |
smk_parse_long_rule | smk_parse_long_rule - parse Smack rule from rule string*@data: string to be parsed, null terminated*@rule: Will be filled with Smack parsed rule*@import: if non-zero, import labels*@tokens: numer of substrings expected in data |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |