函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sel_make_initcon_files

函数原型:static int sel_make_initcon_files(struct dentry *dir)

返回类型:int

参数:

类型参数名称
struct dentry *dir
1629 i小于等于SECINITSID_NUM循环
1632  dentry等于d_alloc_name(dir, security_get_initial_sid_context(i))
1633  如果非dentry则返回:负ENOMEM
1636  inode等于sel_make_inode( The root of the dentry tree , S_IFREG | S_IRUGO)
1637  如果非inode
1638  dput(dentry)
1639  返回:负ENOMEM
1642  rmer ->i_op->default_file_ops 等于sel_initcon_ops
1643  Stat data, not accessed from path walking 等于i按位或SEL_INITCON_INO_OFFSET
1644  添加目录项到哈希队列
1647  返回:0
调用者
名称描述
sel_fill_super