Function report |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-28 19:36:16 |
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_policy - Read "struct tomoyo_..._entry" 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_policy(struct tomoyo_io_buffer *head, const int idx)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct tomoyo_io_buffer * | head | |
const int | idx |
1860 | list = List of policy. [idx] |
1865 | If rue or false or TOMOYO_GC_IN_PROGRESS Then Continue |
1867 | 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 |
1870 | Case idx == TOMOYO_ID_TRANSITION_CONTROL |
1885 | Break |
1886 | Case idx == TOMOYO_ID_AGGREGATOR |
1899 | Break |
1900 | Default |
1901 | Continue |
1905 | acl = NULL |
1906 | 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 |