函数逻辑报告 |
Source Code:security\smack\smack_access.c |
Create Date:2022-07-27 20:55:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_netlbl_mls - convert a catset to netlabel mls categories*@catset: the Smack categories*@sap: where to put the netlabel categories* Allocates and fills attr.mls* Returns 0 on success, error code on failure.
函数原型:int smk_netlbl_mls(int level, char *catset, struct netlbl_lsm_secattr *sap, int len)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | level | |
| char * | catset | |
| struct netlbl_lsm_secattr * | sap | |
| int | len |
| 494 | flags或等于NETLBL_SECATTR_MLS_CAT |
| 496 | cat = NULL |
| 510 | 返回:0 |
| 名称 | 描述 |
|---|---|
| smk_import_entry | 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 |
| smk_set_cipso | smk_set_cipso - do the work for write() for cipso and cipso2*@file: file pointer, not actually used*@buf: where to get the data from*@count: bytes sent*@ppos: where to start*@format: /smack/cipso or /smack/cipso2 |
| smk_preset_netlabel |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |