函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\utsname.c Create Date:2022-07-27 12:20:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:utsns_install

函数原型:static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new)

返回类型:int

参数:

类型参数名称
struct nsproxy *nsproxy
struct ns_common *new
145  ns等于to_uts_ns(new)
147  如果非ns_capable(user_ns, Allow setting zone reclaim policy )或非ns_capable(current_user_ns(), Allow setting zone reclaim policy )则返回:负EPERM
151  get_uts_ns(ns)
152  put_uts_ns(uts_ns)
153  uts_ns等于ns
154  返回:0