Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:security_inode_alloc

Proto:int security_inode_alloc(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
915  rc = lsm_inode_alloc - allocate a composite inode blob*@inode: the inode that needs a blob* Allocate the inode blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated.
917  If Value for the false possibility is greater at compile time(rc) Then Return rc
919  rc = call_int_hook(inode_alloc_security, 0, inode)
920  If Value for the false possibility is greater at compile time(rc) Then security_inode_free(inode)
922  Return rc