Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:security_msg_msg_alloc

Proto:int security_msg_msg_alloc(struct msg_msg *msg)

Type:int

Parameter:

TypeParameterName
struct msg_msg *msg
1743  rc = 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.
1745  If Value for the false possibility is greater at compile time(rc) Then Return rc
1747  rc = call_int_hook(msg_msg_alloc_security, 0, msg)
1748  If Value for the false possibility is greater at compile time(rc) Then security_msg_msg_free(msg)
1750  Return rc
Caller
NameDescribe
load_msg