Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:59:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sock_has_perm
Proto:static int sock_has_perm(struct sock *sk, unsigned int perms)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct sock * | sk | |
unsigned int | perms |
4490 | sksec = sk_security |
4492 | struct lsm_network_audit net = {0, } |
4494 | If SID of this object == SECINITSID_KERNEL Then Return 0 |
4497 | type = LSM_AUDIT_DATA_NET |
Name | Describe |
---|---|
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 |
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 |