Function report |
Source Code:security\selinux\netlink.c |
Create Date:2022-07-28 19:07:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selnl_notify
Proto:static void selnl_notify(int msgtype, void *data)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | msgtype | |
| void * | data |
| 74 | len = selnl_msglen(msgtype) |
| 82 | If Not nlh Then Go to out_kfree_skb |
| 84 | selnl_add_payload(nlh, len, msgtype, data) |
| 85 | Length of message including header = These elements must be at the end, see alloc_skb() for details. - tmp |
| 86 | dst_group = SELNLGRP_AVC |
| 87 | netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER) |
| 88 | out : |
| 89 | Return |
| 91 | out_kfree_skb : |
| 93 | oom : |
| 95 | Go to out |
| Name | Describe |
|---|---|
| selnl_notify_setenforce | |
| selnl_notify_policyload |
| 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 |