Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:59:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_socket_create
Proto:static int selinux_socket_create(int family, int type, int protocol, int kern)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | family | |
| int | type | |
| int | protocol | |
| int | kern |
| 4509 | 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.()) |
| 4514 | If kern Then Return 0 |
| 4517 | secclass = socket_type_to_security_class(family, type, protocol) |
| 4518 | rc = socket security operations |
| 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 |