函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:int lsm_inode_alloc(struct inode *inode)

返回类型:int

参数:

类型参数名称
struct inode *inode
551  如果非lsm_inode_cache
552  i_security = NULL
553  返回:0
556  i_security等于Shortcuts
557  如果(i_security == NULL)则返回:负ENOMEM
559  返回:0
调用者
名称描述
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