Function report |
Source Code:security\tomoyo\gc.c |
Create Date:2022-07-28 19:43:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_try_to_gc - Try to kfree() an entry.*@type: One of values in "enum tomoyo_policy_id".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.
Proto:static void tomoyo_try_to_gc(const enum tomoyo_policy_id type, struct list_head *element)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
const enum tomoyo_policy_id | type | |
struct list_head * | element |
408 | Case type == TOMOYO_ID_TRANSITION_CONTROL |
411 | Case type == TOMOYO_ID_MANAGER |
413 | Break |
414 | Case type == TOMOYO_ID_AGGREGATOR |
416 | Break |
417 | Case type == TOMOYO_ID_GROUP |
419 | Break |
420 | Case type == TOMOYO_ID_PATH_GROUP |
422 | Break |
423 | Case type == TOMOYO_ID_ADDRESS_GROUP |
426 | Case type == TOMOYO_ID_NUMBER_GROUP |
429 | Case type == TOMOYO_ID_CONDITION |
431 | Break |
432 | Case type == TOMOYO_ID_NAME |
442 | Break |
443 | Case type == TOMOYO_ID_ACL |
445 | Break |
446 | Case type == TOMOYO_ID_DOMAIN |
455 | Break |
456 | Case type == TOMOYO_MAX_POLICY |
457 | Break |
459 | mutex_lock( & tomoyo_policy_lock) |
463 | Return |
464 | reinject : |
473 | mutex_lock( & tomoyo_policy_lock) |
Name | Describe |
---|---|
tomoyo_collect_member | moyo_collect_member - Delete elements with "struct tomoyo_acl_head".*@id: One of values in "enum tomoyo_policy_id".*@member_list: Pointer to "struct list_head".* Returns nothing. |
tomoyo_collect_acl | moyo_collect_acl - Delete elements in "struct tomoyo_domain_info".*@list: Pointer to "struct list_head".* Returns nothing. |
tomoyo_collect_entry | moyo_collect_entry - Try to kfree() deleted elements.* Returns nothing. |
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 |