| Function report | 
| Source Code: security\tomoyo\condition.c | Create Date:2022-07-28 19:38:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static struct tomoyo_condition *tomoyo_commit_condition(struct tomoyo_condition *entry)
Type:struct tomoyo_condition
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct tomoyo_condition * | entry | 
| 410 | bool found = false | 
| 412 | If mutex_lock_interruptible( & tomoyo_policy_lock) Then | 
| 413 | Define this to enable debug mode. (warning conditions "%u: %s failed\n", __LINE__, __func__) | 
| 414 | ptr = NULL | 
| 415 | found = true | 
| 416 | Go to out | 
| 423 | atomic_inc( & users) | 
| 424 | found = true | 
| 425 | Break | 
| 427 | If Not found Then | 
| 437 | out : | 
| 438 | If found Then | 
| 443 | Return entry | 
| Name | Describe | 
|---|---|
| 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. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |