Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:int lsm_inode_alloc(struct inode *inode)

Type:int

Parameter:

TypeParameterName
struct inode *inode
551  If Not lsm_inode_cache Then
552  i_security = NULL
553  Return 0
556  i_security = Shortcuts
557  If (i_security == NULL) Then Return -ENOMEM
559  Return 0
Caller
NameDescribe
security_inode_alloc
smack_set_mnt_optssmack_set_mnt_opts - set Smack specific mount options*@sb: the file system superblock*@mnt_opts: Smack mount options*@kern_flags: mount option from kernel space or user space*@set_kern_flags: where to store converted mount opts* Returns 0 on success, an