Function report |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-28 19:45:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_write_inet_network - Write "struct tomoyo_inet_acl" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:int tomoyo_write_inet_network(struct tomoyo_acl_param *param)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tomoyo_acl_param * | param |
284 | struct tomoyo_inet_acl e = { One of values in "enum tomoyo_acl_entry_type_index". = TOMOYO_TYPE_INET_ACL} |
287 | protocol = tomoyo_read_token(param) |
288 | operation = tomoyo_read_token(param) |
292 | Break |
293 | When type < TOMOYO_MAX_NETWORK_OPERATION cycle If tomoyo_permstr(operation, String table for socket's operation. [type]) Then |
298 | If data[0] == '@' Then |
299 | data++ |
302 | If Not Pointer to address group. Then Return -ENOMEM |
304 | Else |
314 | out : |
317 | Return error |
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 |