Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lsm_ipc_alloc - allocate a composite ipc blob*@kip: the ipc that needs a blob* Allocate the ipc blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated.

Proto:static int lsm_ipc_alloc(struct kern_ipc_perm *kip)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *kip
593  If lbs_ipc == 0 Then
594  security = NULL
595  Return 0
598  security = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
599  If (security == NULL) Then Return -ENOMEM
601  Return 0
Caller
NameDescribe
security_msg_queue_alloc
security_shm_alloc
security_sem_alloc