函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_create_entry - Create interface files under /sys/kernel/security/tomoyo/ directory.*@name: The name of the interface file.*@mode: The permission of the interface file.*@parent: The parent directory.*@key: Type of interface.* Returns nothing.

函数原型:static void __init tomoyo_create_entry(const char *name, const umode_t mode, struct dentry *parent, const u8 key)

返回类型:void

参数:

类型参数名称
const char *name
const umode_tmode
struct dentry *parent
const u8key
226  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.