Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inc_uts_namespaces

Proto:static struct ucounts *inc_uts_namespaces(struct user_namespace *ns)

Type:struct ucounts

Parameter:

TypeParameterName
struct user_namespace *ns
22  Return inc_ucount(ns, current_euid(), UCOUNT_UTS_NAMESPACES)
Caller
NameDescribe
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