函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\security.c Create Date:2022-07-27 20:12:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static int lsm_ipc_alloc(struct kern_ipc_perm *kip)

返回类型:int

参数:

类型参数名称
struct kern_ipc_perm *kip
593  如果lbs_ipc恒等于0则
594  security = NULL
595  返回:0
598  security等于分配内存并置零
599  如果(security == NULL)则返回:负ENOMEM
601  返回:0
调用者
名称描述
security_msg_queue_alloc
security_shm_alloc
security_sem_alloc