Function report |
Source Code:security\tomoyo\group.c |
Create Date:2022-07-28 19:43:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_address_matches_group - Check whether the given address matches members of the given address group.*@is_ipv6: True if @address is an IPv6 address.*@address: An IPv4 or IPv6 address.*@group: Pointer to "struct tomoyo_address_group".
Proto:bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, const struct tomoyo_group *group)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const bool | is_ipv6 | |
const __be32 * | address | |
const struct tomoyo_group * | group |
193 | bool matched = false |
198 | If rue or false or TOMOYO_GC_IN_PROGRESS Then Continue |
200 | If Valid only if @group == NULL. != is_ipv6 Then Continue |
202 | If memcmp( & Big endian. [0], address, size) > 0 || memcmp(address, & Big endian. [1], size) > 0 Then Continue |
205 | matched = true |
206 | Break |
208 | Return matched |
Name | Describe |
---|---|
tomoyo_check_inet_acl | moyo_check_inet_acl - Check permission for inet domain socket operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise. |
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 |