| Function report | 
| Source Code: security\tomoyo\common.c | Create Date:2022-07-28 19:36:48 | 
| 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_query - Read access requests which violated policy in enforcing mode.*@head: Pointer to "struct tomoyo_io_buffer".
Proto:static void tomoyo_read_query(struct tomoyo_io_buffer *head)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct tomoyo_io_buffer * | head | 
| 2205 | pos = 0 | 
| 2206 | len = 0 | 
| 2209 | If w_pos Then Return | 
| 2211 | kfree(Buffer for reading. ) | 
| 2212 | Buffer for reading. = NULL | 
| 2217 | If pos++ != query_index Then Continue | 
| 2220 | Break | 
| 2223 | If Not len Then | 
| 2224 | query_index = 0 | 
| 2225 | Return | 
| 2227 | buf = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 2228 | If Not buf Then Return | 
| 2230 | pos = 0 | 
| 2235 | If pos++ != query_index Then Continue | 
| 2244 | Break | 
| 2247 | If buf[0] Then | 
| 2251 | Else | 
| 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 |