Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:59:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_parse_skb
Proto:static int selinux_parse_skb(struct sk_buff *skb, struct common_audit_data *ad, char **_addrp, int src, u8 *proto)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sk_buff * | skb | |
| struct common_audit_data * | ad | |
| char ** | _addrp | |
| int | src | |
| u8 * | proto |
| 4376 | If ret Then Go to parse_error |
| 4380 | Go to okay |
| 4385 | If ret Then Go to parse_error |
| 4389 | Go to okay |
| 4391 | Default |
| 4396 | parse_error : |
| 4397 | pr_warn("SELinux: failure in selinux_parse_skb(), unable to parse packet\n") |
| 4400 | Return ret |
| 4402 | okay : |
| 4405 | Return 0 |
| Name | Describe |
|---|---|
| selinux_sock_rcv_skb_compat | |
| selinux_socket_sock_rcv_skb |
| 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 |