函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.* Returns 0.

函数原型:static int __init tomoyo_initerface_init(void)

返回类型:int

参数:

240  如果非tomoyo_enabled则返回:0
242  domain等于moyo_domain - Get "struct tomoyo_domain_info" for current thread.* Returns pointer to "struct tomoyo_domain_info" for current thread.
244  如果domain不等于The initial domain. 则返回:0
247  tomoyo_dir等于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
248  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.
250  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.
252  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.
254  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.
256  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.
258  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.
260  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.
262  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.
264  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.
266  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
268  moyo_load_builtin_policy - Load built-in policy.* Returns nothing.
269  返回:0