Function report |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-28 19:17:55 |
| 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_socket_connect_locked - Label a client-side socket on* connect*@sk: the socket to label*@addr: the destination address* Description:* Attempt to label a connected socket that already has the socket locked
Proto:int selinux_netlbl_socket_connect_locked(struct sock *sk, struct sockaddr *addr)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sock * | sk | |
| struct sockaddr * | addr |
| 584 | sksec = sk_security |
| 586 | If nlbl_state != NLBL_REQSKB && nlbl_state != NLBL_CONNLABELED Then Return 0 |
| Name | Describe |
|---|---|
| selinux_netlbl_socket_connect | selinux_netlbl_socket_connect - Label a client-side socket on connect*@sk: the socket to label*@addr: the destination address* Description:* Attempt to label a connected socket with NetLabel using the given address. |
| 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 |