函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lsm_file_alloc - allocate a composite file blob*@file: the file that needs a blob* Allocate the file blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated.

函数原型:static int lsm_file_alloc(struct file *file)

返回类型:int

参数:

类型参数名称
struct file *file
530  如果非lsm_file_cache
531  f_security = NULL
532  返回:0
535  f_security等于Shortcuts
536  如果(f_security == NULL)则返回:负ENOMEM
538  返回:0
调用者
名称描述
security_file_alloc