Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\namespace.c Create Date:2022-07-28 16:53:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_ipcs

Proto:struct ipc_namespace *copy_ipcs(unsigned long flags, struct user_namespace *user_ns, struct ipc_namespace *ns)

Type:struct ipc_namespace

Parameter:

TypeParameterName
unsigned longflags
struct user_namespace *user_ns
struct ipc_namespace *ns
82  If Not (flags & New ipc namespace ) Then Return get_ipc_ns(ns)
84  Return create_ipc_ns(user_ns, ns)
Caller
NameDescribe
create_new_namespacesCreate 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.