Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 19:01:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called whenever a new socket is created by accept(2) or sctp_peeloff(3).
Proto:static void selinux_sctp_sk_clone(struct sctp_endpoint *ep, struct sock *sk, struct sock *newsk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sctp_endpoint * | ep | |
| struct sock * | sk | |
| struct sock * | newsk |
| 5354 | sksec = sk_security |
| 5355 | newsksec = sk_security |
| 5360 | If Not selinux_policycap_extsockclass() Then Return selinux_sk_clone_security(sk, newsk) |
| 5364 | SID of peer = peer_secid |
| 5366 | selinux_netlbl_sctp_sk_clone(sk, newsk) |
| 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 |