| 函数逻辑报告 | 
| Source Code: security\selinux\hooks.c | Create Date:2022-07-27 20:26:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:selinux_add_opt
函数原型:static int selinux_add_opt(int token, const char *s, void **mnt_opts)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | token | |
| const char * | s | |
| void ** | mnt_opts | 
| 999 | 如果token恒等于Opt_seclabel则返回:0 | 
| 1002 | 如果非opts则 | 
| 1011 | 当:token恒等于Opt_context | 
| 1016 | 当:token恒等于Opt_fscontext | 
| 1021 | 当:token恒等于Opt_rootcontext | 
| 1026 | 当:token恒等于Opt_defcontext | 
| 1032 | 返回:0 | 
| 1033 | Einval : | 
| 1034 | 打印警告信息(SEL_MOUNT_FAIL_MSG) | 
| 1035 | 返回:负EINVAL | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |