函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:safesetid_init_securityfs

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

返回类型:int

参数:

239  如果非Flag indicating whether initialization completed 则返回:0
242  policy_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
243  如果是错误
244  ret等于错误
245  转到:error
248  policy_file等于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
250  如果是错误
251  ret等于错误
252  转到:error
255  返回:0
257  error :
258  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
259  返回:ret