函数逻辑报告 |
Source Code:security\selinux\netlabel.c |
Create Date:2022-07-27 20:47:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_netlbl_socket_connect_helper - Help 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.
函数原型:static int selinux_netlbl_socket_connect_helper(struct sock *sk, struct sockaddr *addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sock * | sk | |
struct sockaddr * | addr |
545 | sksec等于sk_security |
558 | 如果(secattr == NULL)则 |
562 | rc等于netlbl_conn_setattr(sk, addr, secattr) |
563 | 如果rc恒等于0则nlbl_state等于NLBL_CONNLABELED |
566 | 返回:rc |
名称 | 描述 |
---|---|
selinux_netlbl_socket_connect_locked | 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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |