Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:utsns_install

Proto:static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new)

Type:int

Parameter:

TypeParameterName
struct nsproxy *nsproxy
struct ns_common *new
145  ns = to_uts_ns(new)
147  If Not ns_capable(user_ns, Allow setting zone reclaim policy ) || Not ns_capable(current_user_ns(), Allow setting zone reclaim policy ) Then Return -EPERM
151  get_uts_ns(ns)
152  put_uts_ns(uts_ns)
153  uts_ns = ns
154  Return 0