Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lsm_msg_msg_alloc - allocate a composite msg_msg blob*@mp: the msg_msg 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_msg_msg_alloc(struct msg_msg *mp)

Type:int

Parameter:

TypeParameterName
struct msg_msg *mp
614  If lbs_msg_msg == 0 Then
615  security = NULL
616  Return 0
619  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).
620  If (security == NULL) Then Return -ENOMEM
622  Return 0
Caller
NameDescribe
security_msg_msg_alloc