Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\shm.c Create Date:2022-07-28 16:47:17
Last Modify:2020-03-17 22:58:32 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ksys_shmget

Proto:long ksys_shmget(key_t key, size_t size, int shmflg)

Type:long

Parameter:

TypeParameterName
key_tkey
size_tsize
intshmflg
729  static const struct ipc_ops shm_ops = {getnew = newseg, associate = security_shm_associate, more_checks = Called with shm_ids.rwsem and ipcp locked., }
736  ns = ipc_ns
738  key = key
739  flg = shmflg
740  for shared memories = size
742  Return pcget - 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.
Caller
NameDescribe
SYSCALL_DEFINE3
ksys_ipc