函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ipcns_install

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

返回类型:int

参数:

类型参数名称
struct nsproxy *nsproxy
struct ns_common *new
182  ns等于to_ipc_ns(new)
183  如果非ns_capable(user_ns, Allow setting zone reclaim policy )或非ns_capable(current_user_ns(), Allow setting zone reclaim policy )则返回:负EPERM
188  add semadj values to semaphores, free undo structures
189  put_ipc_ns - drop a reference to an ipc namespace
190  ipc_ns等于get_ipc_ns(ns)
191  返回:0