函数逻辑报告 | 
Source Code:security\smack\smack_lsm.c | 
Create Date:2022-07-27 20:49:01 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:smack_add_opt
函数原型:static int smack_add_opt(int token, const char *s, void **mnt_opts)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | token | |
| const char * | s | |
| void ** | mnt_opts | 
| 590 | 如果非opts则 | 
| 600 | 当:token恒等于Opt_fsdefault | 
| 605 | 当:token恒等于Opt_fsfloor | 
| 615 | 当:token恒等于Opt_fsroot | 
| 620 | 当:token恒等于Opt_fstransmute | 
| 626 | 返回:0 | 
| 628 | out_opt_err : | 
| 629 | 打印警告信息("Smack: duplicate mount options\n") | 
| 630 | 返回:负EINVAL | 
| 名称 | 描述 | 
|---|---|
| smack_fs_context_parse_param | smack_fs_context_parse_param - Parse a single mount parameter*@fc: The new filesystem context being constructed.*@param: The parameter.* Returns 0 on success, -ENOPARAM to pass the parameter on or anything else on* error. | 
| smack_sb_eat_lsm_opts | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |