Function report |
Source Code:security\tomoyo\gc.c |
Create Date:2022-07-28 19:43:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_notify_gc - Register/unregister /sys/kernel/security/tomoyo/ users.*@head: Pointer to "struct tomoyo_io_buffer".*@is_register: True if register, false if unregister.* Returns nothing.
Proto:void tomoyo_notify_gc(struct tomoyo_io_buffer *head, const bool is_register)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tomoyo_io_buffer * | head | |
| const bool | is_register |
| 652 | bool is_write = false |
| 655 | If is_register Then |
| 658 | Else |
| 659 | is_write = Buffer for writing. != NULL |
| 660 | If Not --Users counter protected by tomoyo_io_buffer_list_lock. Then |
| 662 | kfree(Buffer for reading. ) |
| 663 | kfree(Buffer for writing. ) |
| Name | Describe |
|---|---|
| tomoyo_close_control | moyo_close_control - close() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer". |
| 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 |