Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smk_ipv6_check - check Smack access*@subject: subject Smack label*@object: object Smack label*@address: address*@act: the action being taken* Check an IPv6 access
Proto:static int smk_ipv6_check(struct smack_known *subject, struct smack_known *object, struct sockaddr_in6 *address, int act)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct smack_known * | subject | |
struct smack_known * | object | |
struct sockaddr_in6 * | address | |
int | act |
2506 | smk_ad_init_net( & ad, __func__, LSM_AUDIT_DATA_NET, & net) |
2508 | dport = ntohs( Transport layer port # ) |
2509 | If act == SMK_RECEIVING Then saddr = IPv6 address |
2511 | Else daddr = IPv6 address |
2516 | Return rc |
Name | Describe |
---|---|
smk_ipv6_port_check | smk_ipv6_port_check - check Smack port access*@sk: socket*@address: address*@act: the action being taken* Create or update the port list entry |
smack_socket_connect | smack_socket_connect - connect access check*@sock: the socket*@sap: the other end*@addrlen: size of sap* Verifies that a connection may be possible* Returns 0 on success, and error code otherwise |
smack_socket_sendmsg | smack_socket_sendmsg - Smack check based on destination host*@sock: the socket*@msg: the message*@size: the size of the message* Return 0 if the current subject can write to the destination host. |
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 |