Function report |
Source Code:kernel\pid_namespace.c |
Create Date:2022-07-28 11:20:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pidns_for_children_get
Proto:static struct ns_common *pidns_for_children_get(struct task_struct *task)
Type:struct ns_common
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task |
| 355 | struct pid_namespace * ns = NULL |
| 358 | If Namespaces: Then |
| 359 | ns = pid_ns_for_children |
| 360 | get_pid_ns(ns) |
| 362 | task_unlock(task) |
| 364 | If ns Then |
| 365 | read_lock( & tasklist_lock) |
| 366 | If Not child_reaper Then |
| 367 | put_pid_ns(ns) |
| 368 | ns = NULL |
| 370 | read_unlock( & tasklist_lock) |
| 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 |