Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ipcns_install

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

Type:int

Parameter:

TypeParameterName
struct nsproxy *nsproxy
struct ns_common *new
182  ns = to_ipc_ns(new)
183  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
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  Return 0