Function report |
Source Code:kernel\pid_namespace.c |
Create Date:2022-07-28 11:20:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_pid_ns
Proto:struct pid_namespace *copy_pid_ns(unsigned long flags, struct user_namespace *user_ns, struct pid_namespace *old_ns)
Type:struct pid_namespace
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | flags | |
struct user_namespace * | user_ns | |
struct pid_namespace * | old_ns |
151 | If Not (flags & New pid namespace ) Then Return get_pid_ns(old_ns) |
153 | If task_active_pid_ns(current process) != old_ns Then Return ERR_PTR( - EINVAL) |
155 | Return create_pid_namespace(user_ns, old_ns) |
Name | Describe |
---|---|
create_new_namespaces | Create new nsproxy and all of its the associated namespaces.* Return the newly created nsproxy. Do not attach this to the task,* leave it to the caller to do proper locking and attach it to task. |
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 |