Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:59:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:socket security operations
Proto:static int socket_sockcreate_sid(const struct task_security_struct *tsec, u16 secclass, unsigned int *socksid)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct task_security_struct * | tsec | |
| u16 | secclass | |
| unsigned int * | socksid |
| 4479 | If fscreate SID > unspecified SID Then |
| 4480 | socksid = fscreate SID |
| 4481 | Return 0 |
| 4484 | Return security_transition_sid( & selinux_state, current SID , current SID , secclass, NULL, socksid) |
| Name | Describe |
|---|---|
| selinux_socket_create | |
| selinux_socket_post_create |
| 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 |