函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:securityfs_create_dir - create a directory in the securityfs filesystem*@name: a pointer to a string containing the name of the directory to* create.*@parent: a pointer to the parent dentry for this file. This should be a* directory dentry if set

函数原型:struct dentry *securityfs_create_dir(const char *name, struct dentry *parent)

返回类型:struct dentry

参数:

类型参数名称
const char *name
struct dentry *parent
230  返回:securityfs_create_file - create a file in the securityfs filesystem*@name: a pointer to a string containing the name of the file to create.*@mode: the permission that the file should have*@parent: a pointer to the parent dentry for this file
调用者
名称描述
tomoyo_initerface_initmoyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.* Returns 0.
entry_create_dirry_create_dir - recursively create a directory entry in the securityfs*@fs_dir: aa_sfs_entry (and all child entries) to build (NOT NULL)*@parent: the parent dentry in the securityfs* Use entry_remove_dir to remove entries created with this fn.
safesetid_init_securityfs
integrity_fs_init
ima_fs_init
evm_init_secfs