Function report |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-28 19:17:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_netlbl_inet_conn_request - Label an incoming stream connection*@req: incoming connection request socket* Description:* A new incoming connection request is represented by @req, we need to label* the new request_sock here and the stack will ensure
Proto:int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_sock * | req | |
u16 | family |
333 | rc = security_netlbl_sid_to_secattr( & selinux_state, secid, & secattr) |
335 | If rc != 0 Then Go to inet_conn_request_return |
337 | rc = netlbl_req_setattr(req, & secattr) |
338 | inet_conn_request_return : |
340 | Return rc |
Name | Describe |
---|---|
selinux_inet_conn_request |
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 |