Function report |
Source Code:security\tomoyo\network.c |
Create Date:2022-07-28 19:45:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_inet_entry - Check permission for INET network operation.*@address: Pointer to "struct tomoyo_addr_info".* Returns 0 on success, negative value otherwise.
Proto:static int tomoyo_inet_entry(const struct tomoyo_addr_info *address)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct tomoyo_addr_info * | address |
469 | idx = moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock(). |
471 | error = 0 |
472 | type = Mapping table from "enum tomoyo_network_acl_index" to* "enum tomoyo_mac_index" for inet domain socket.[protocol][operation] |
474 | If type && tomoyo_init_request_info( & r, NULL, type) != TOMOYO_CONFIG_DISABLED Then |
488 | Return error |
Name | Describe |
---|---|
tomoyo_check_inet_address | moyo_check_inet_address - Check permission for inet domain socket's operation.*@addr: Pointer to "struct sockaddr".*@addr_len: Size of @addr.*@port: Port number.*@address: Pointer to "struct tomoyo_addr_info". |
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 |