函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\net_namespace.h Create Date:2022-07-27 06:52:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:copy_net_ns

函数原型:static inline struct net *copy_net_ns(unsigned long flags, struct user_namespace *user_ns, struct net *old_net)

返回类型:struct net

参数:

类型参数名称
unsigned longflags
struct user_namespace *user_ns
struct net *old_net
207  如果flags按位与新网络空间则返回:错误号
209  返回:old_net
调用者
名称描述
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.