Function report |
Source Code:lib\kobject_uevent.c |
Create Date:2022-07-28 06:14:41 |
| 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_broadcast_tagged
Proto:static int uevent_net_broadcast_tagged(struct sock *usk, struct kobj_uevent_env *env, const char *action_string, const char *devpath)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sock * | usk | |
| struct kobj_uevent_env * | env | |
| const char * | action_string | |
| const char * | devpath |
| 348 | ret = 0 |
| 350 | skb = alloc_uevent_skb(env, action_string, devpath) |
| 355 | If owning_user_ns != init_user_ns Then |
| 356 | parms = NETLINK_CB(skb) |
| 361 | root_uid = make_kuid(owning_user_ns, 0) |
| 366 | root_gid = make_kgid(owning_user_ns, 0) |
| 371 | ret = netlink_broadcast(usk, skb, 0, 1, GFP_KERNEL) |
| 376 | Return ret |
| Name | Describe |
|---|---|
| kobject_uevent_net_broadcast |
| 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 |