Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-28 16:39:41
Last Modify:2022-05-23 18:05:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pcget_new - create a new ipc object*@ns: ipc namespace*@ids: ipc identifier set*@ops: the actual creation routine to call*@params: its parameters* This routine is called by sys_msgget, sys_semget() and sys_shmget()* when the key is IPC_PRIVATE.

Proto:static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, const struct ipc_ops *ops, struct ipc_params *params)

Type:int

Parameter:

TypeParameterName
struct ipc_namespace *ns
struct ipc_ids *ids
const struct ipc_ops *ops
struct ipc_params *params
343  lock for writing
344  err = getnew(ns, params)
345  lease a write lock
346  Return err
Caller
NameDescribe
ipcgetpcget - Common sys_*get() code*@ns: namespace*@ids: ipc identifier set*@ops: operations to be called on ipc object creation, permission checks* and further checks*@params: the parameters needed by the previous operations.