Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:22:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_ipv4host_label - check host based restrictions*@sip: the object end* looks for host based access restrictions* This version will only be appropriate for really small sets of single label* hosts
Proto:static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip)
Type:struct smack_known
Parameter:
Type | Parameter | Name |
---|---|---|
struct sockaddr_in * | sip |
2310 | siap = Internet address |
2312 | If s_addr == 0 Then Return NULL |
2325 | Return NULL |
Name | Describe |
---|---|
smack_netlabel_send | smack_netlbel_send - Set the secattr on a socket and perform access checks*@sk: the socket*@sap: the destination address* Set the correct secattr for the given socket based on the destination* address and perform any outbound access checks needed. |
smack_inet_conn_request | smack_inet_conn_request - Smack access check on connect*@sk: socket involved*@skb: packet*@req: unused* Returns 0 if a task with the packet label could write to* the socket, otherwise an error code |
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 |