函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:31:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_socket_post_create
函数原型:static int selinux_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct socket * | sock | |
int | family | |
int | type | |
int | protocol | |
int | kern |
4529 | tsec等于selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()) |
4530 | isec等于inode_security_novalidate(SOCK_INODE(sock)) |
4533 | sid等于SECINITSID_KERNEL |
4534 | err等于0 |
4536 | 如果非kern则 |
4543 | SID of this object 等于sid |
4544 | initialization flag 等于 initialized |
4546 | 如果sk则 |
4547 | sksec等于sk_security |
4548 | sock security class 等于sclass |
4549 | SID of this object 等于sid |
4554 | err等于selinux_netlbl_socket_post_create(sk, family) |
4557 | 返回:err |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |