Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pc_set_key_private - switch the key of an existing ipc to IPC_PRIVATE*@ids: ipc identifier set*@ipcp: ipc perm structure containing the key to modify* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held

Proto:void ipc_set_key_private(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)

Type:void

Parameter:

TypeParameterName
struct ipc_ids *ids
struct kern_ipc_perm *ipcp
490  pc_kht_remove - remove an ipc from the key hashtable*@ids: ipc identifier set*@ipcp: ipc perm structure containing the key to remove* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held
491  key = IPC_PRIVATE
Caller
NameDescribe
do_shm_rmidCalled with shm_ids.rwsem (writer) and the shp structure locked.* Only shm_ids.rwsem remains locked on exit.