函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:evm_init_secfs

函数原型:int __init evm_init_secfs(void)

返回类型:int

参数:

285  error等于0
287  evm_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
288  如果非evm_dir是错误则返回:负EFAULT
291  evm_init_tpm等于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
293  如果非evm_init_tpm是错误
294  error等于负EFAULT
295  转到:out
298  evm_symlink等于securityfs_create_symlink - create a symlink in the securityfs filesystem*@name: a pointer to a string containing the name of the symlink to* create.*@parent: a pointer to the parent dentry for the symlink. This should be a* directory dentry if set
300  如果非evm_symlink是错误
301  error等于负EFAULT
302  转到:out
305  如果evm_init_xattrs()不等于0则
306  error等于负EFAULT
307  转到:out
310  返回:0
311  out :
312  securityfs_remove - removes a file or directory from the securityfs filesystem*@dentry: a pointer to a the dentry of the file or directory to be removed
313  securityfs_remove - removes a file or directory from the securityfs filesystem*@dentry: a pointer to a the dentry of the file or directory to be removed
314  securityfs_remove - removes a file or directory from the securityfs filesystem*@dentry: a pointer to a the dentry of the file or directory to be removed
315  返回:error
调用者
名称描述
init_evm