| 函数逻辑报告 | 
| Source Code: security\tomoyo\condition.c | Create Date:2022-07-27 21:07:19 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_commit_condition - Commit "struct tomoyo_condition".*@entry: Pointer to "struct tomoyo_condition".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise.* This function merges duplicated entries. This function returns NULL if
函数原型:static struct tomoyo_condition *tomoyo_commit_condition(struct tomoyo_condition *entry)
返回类型:struct tomoyo_condition
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct tomoyo_condition * | entry | 
| 410 | bool found = false | 
| 412 | 如果mutex_lock_interruptible( & tomoyo_policy_lock)则 | 
| 413 | Define this to enable debug mode. (warning conditions "%u: %s failed\n", __LINE__, __func__) | 
| 414 | ptr = NULL | 
| 415 | found = true | 
| 416 | 转到:out | 
| 423 | atomic_inc( & users) | 
| 424 | found = true | 
| 425 | 退出 | 
| 427 | 如果非found则 | 
| 437 | out : | 
| 438 | 如果found则 | 
| 440 | 释放内存 | 
| 443 | 返回:entry | 
| 名称 | 描述 | 
|---|---|
| tomoyo_get_condition | moyo_get_condition - Parse condition part.*@param: Pointer to "struct tomoyo_acl_param".* Returns pointer to "struct tomoyo_condition" on success, NULL otherwise. | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |