Function report |
Source Code:security\tomoyo\gc.c |
Create Date:2022-07-28 19:43:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_collect_entry - Try to kfree() deleted elements.* Returns nothing.
Proto:static void tomoyo_collect_entry(void)
Type:void
Parameter:Nothing
| 530 | mutex_lock( & tomoyo_policy_lock) |
| 538 | If Not Delete flag. || atomic_read( & Number of referring tasks. ) Then Continue |
| 546 | When i < Group number is an integer between 0 and 255. cycle moyo_collect_acl - Delete elements in "struct tomoyo_domain_info".*@list: Pointer to "struct list_head".* Returns nothing. |
| 555 | If atomic_read( & users) > 0 Then Continue |
| 562 | When i < TOMOYO_MAX_GROUP cycle |
| 563 | list = List of "struct tomoyo_group". [i] |
| 568 | Case i == 0 |
| 569 | id = TOMOYO_ID_PATH_GROUP |
| 570 | Break |
| 571 | Case i == 1 |
| 572 | id = TOMOYO_ID_NUMBER_GROUP |
| 573 | Break |
| 574 | Default |
| 575 | id = TOMOYO_ID_ADDRESS_GROUP |
| 576 | Break |
| 580 | If Not list_empty - tests whether a list is empty*@head: the list to test. || atomic_read( & users) > 0 Then Continue |
| 590 | When i < TOMOYO_MAX_HASH cycle |
| 591 | list = tomoyo_name_list[i] |
| 596 | If atomic_read( & users) > 0 Then Continue |
| Name | Describe |
|---|---|
| tomoyo_gc_thread | moyo_gc_thread - Garbage collector thread function.*@unused: Unused.* Returns 0. |
| 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 |