Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:security_msg_queue_alloc

Proto:int security_msg_queue_alloc(struct kern_ipc_perm *msq)

Type:int

Parameter:

TypeParameterName
struct kern_ipc_perm *msq
1762  rc = 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.
1764  If Value for the false possibility is greater at compile time(rc) Then Return rc
1766  rc = call_int_hook(msg_queue_alloc_security, 0, msq)
1767  If Value for the false possibility is greater at compile time(rc) Then security_msg_queue_free(msq)
1769  Return rc