Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\proc_ns.h Create Date:2022-07-28 09:13:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ns_alloc_inum

Proto:static inline int ns_alloc_inum(struct ns_common *ns)

Type:int

Parameter:

TypeParameterName
struct ns_common *ns
71  atomic_long_set( & stashed, 0)
72  Return proc_alloc_inum( & inum)
Caller
NameDescribe
alloc_cgroup_ns
clone_uts_nsClone a new ns copying an original utsname, setting refcount to 1*@old_ns: namespace to clone* Return ERR_PTR(-ENOMEM) on error (failure to allocate), new ns otherwise
create_user_nsCreate a new user namespace, deriving the creator from the user in the* passed credentials, and replacing that user with the new root user for the* new namespace.* This is called by copy_creds(), which will finish setting the target task's* credentials.
create_pid_namespace
create_ipc_ns
alloc_mnt_ns