Function report |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-28 19:34:40 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_read_profile - Read profile table.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.
Proto:static void tomoyo_read_profile(struct tomoyo_io_buffer *head)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tomoyo_io_buffer * | head |
| 751 | If eof Then Return |
| 753 | next : |
| 757 | Case step == 0 |
| 761 | step++ |
| 762 | Break |
| 763 | Case step == 1 |
| 764 | When index < Profile number is an integer between 0 and 255. cycle If Profile table. Memory is allocated as needed. [index] Then |
| 767 | Break |
| 768 | If index == Profile number is an integer between 0 and 255. Then |
| 769 | eof = true |
| 770 | Return |
| 772 | step++ |
| 773 | Break |
| 774 | Case step == 2 |
| 791 | step++ |
| 793 | Break |
| 794 | Case step == 3 |
| 802 | Break |
| 803 | Case step == 4 |
| 804 | When bit < TOMOYO_MAX_MAC_INDEX + TOMOYO_MAX_MAC_CATEGORY_INDEX cycle |
| 809 | If config == TOMOYO_CONFIG_USE_DEFAULT Then Continue |
| 822 | bit++ |
| 823 | Break |
| 825 | If bit == TOMOYO_MAX_MAC_INDEX + TOMOYO_MAX_MAC_CATEGORY_INDEX Then |
| 830 | Break |
| 832 | If moyo_flush - Flush queued string to userspace's buffer.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if all data was flushed, false otherwise. Then Go to next |
| 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 |