Function report | 
Source Code:lib\kobject_uevent.c | 
Create Date:2022-07-28 06:14:46 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:uevent_net_init
Proto:static int uevent_net_init(struct net *net)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct net * | net | 
| 759 | struct netlink_kernel_cfg cfg = {groups = 1, input = uevent_net_rcv, flags = NL_CFG_F_NONROOT_RECV} | 
| 765 | ue_sk = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 769 | sk = netlink_kernel_create(net, Kernel messages to userspace , & cfg) | 
| 770 | If Not sk Then | 
| 776 | uevent socket = ue_sk | 
| 779 | If Owning user namespace == init_user_ns Then | 
| 785 | Return 0 | 
| 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  |