Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\securityfs_if.c Create Date:2022-07-28 19:46:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.* Returns 0.

Proto:static int __init tomoyo_initerface_init(void)

Type:int

Parameter:Nothing

240  If Not tomoyo_enabled Then Return 0
242  domain = moyo_domain - Get "struct tomoyo_domain_info" for current thread.* Returns pointer to "struct tomoyo_domain_info" for current thread.
244  If domain != The initial domain. Then Return 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  Return 0