Function report |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-28 19:36:10 |
| 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_group - Read "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list.*@head: Pointer to "struct tomoyo_io_buffer".*@idx: Index number.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().
Proto:static bool tomoyo_read_group(struct tomoyo_io_buffer *head, const int idx)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tomoyo_io_buffer * | head | |
| const int | idx |
| 1801 | list = List of "struct tomoyo_group". [idx] |
| 1811 | If rue or false or TOMOYO_GC_IN_PROGRESS Then Continue |
| 1813 | If Not 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 Return false |
| 1818 | If idx == TOMOYO_PATH_GROUP Then |
| 1823 | Else if idx == TOMOYO_NUMBER_GROUP Then |
| 1828 | Else if idx == TOMOYO_ADDRESS_GROUP Then |
| 1834 | tomoyo_print_ip(buffer, size of buffer , & Structure for holding an IP address. ) |
| 1840 | acl = NULL |
| 1842 | group = NULL |
| 1843 | Return true |
| Name | Describe |
|---|---|
| tomoyo_read_exception | moyo_read_exception - Read exception policy.*@head: Pointer to "struct tomoyo_io_buffer".* Caller holds tomoyo_read_lock(). |
| 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 |