函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:29:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_sb_eat_lsm_opts
函数原型:static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | options | |
| void ** | mnt_opts |
| 2622 | bool first = true |
| 2625 | 当1循环 |
| 2628 | char * arg = NULL |
| 2630 | token等于match_opt_prefix(from, len, & arg) |
| 2636 | 如果arg则 |
| 2643 | 如果非arg则 |
| 2648 | rc等于selinux_add_opt(token, arg, mnt_opts) |
| 2649 | 如果此条件成立可能性小(为编译器优化)(rc)则 |
| 2653 | 否则 |
| 2667 | to等于'\0' |
| 2668 | 返回:0 |
| 2670 | free_opt : |
| 2671 | 如果mnt_opts则 |
| 2672 | selinux_free_mnt_opts( * mnt_opts) |
| 2673 | * mnt_opts = NULL |
| 2675 | 返回:rc |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |