函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:security_msg_queue_alloc

函数原型:int security_msg_queue_alloc(struct kern_ipc_perm *msq)

返回类型:int

参数:

类型参数名称
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  如果此条件成立可能性小(为编译器优化)(rc)则返回:rc
1766  rc等于call_int_hook(msg_queue_alloc_security, 0, msq)
1767  如果此条件成立可能性小(为编译器优化)(rc)则security_msg_queue_free(msq)
1769  返回:rc