函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:31:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sock_has_perm
函数原型:static int sock_has_perm(struct sock *sk, unsigned int perms)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sock * | sk | |
unsigned int | perms |
4490 | sksec等于sk_security |
4492 | struct lsm_network_audit net = {0, } |
4494 | 如果 SID of this object 恒等于SECINITSID_KERNEL则返回:0 |
4497 | type等于LSM_AUDIT_DATA_NET |
名称 | 描述 |
---|---|
selinux_socket_bind | Range of port numbers used to automatically bind.Need to determine whether we should perform a name_bindpermission check between the socket and the port number. |
selinux_socket_connect_helper | This supports connect(2) and SCTP connect services such as sctp_connectx(3)* and sctp_sendmsg(3) as described in Documentation/security/SCTP.rst |
selinux_socket_listen | |
selinux_socket_accept | |
selinux_socket_sendmsg | |
selinux_socket_recvmsg | |
selinux_socket_getsockname | |
selinux_socket_getpeername | |
selinux_socket_setsockopt | |
selinux_socket_getsockopt | |
selinux_socket_shutdown | |
selinux_nlmsg_perm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |