Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static int lsm_file_alloc(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
530  If Not lsm_file_cache Then
531  f_security = NULL
532  Return 0
535  f_security = Shortcuts
536  If (f_security == NULL) Then Return -ENOMEM
538  Return 0
Caller
NameDescribe
security_file_alloc