函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:48:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smk_fetch - Fetch the smack label from a file.*@name: type of the label (attribute)*@ip: a pointer to the inode*@dp: a pointer to the dentry* Returns a pointer to the master list entry for the Smack label,
函数原型:static struct smack_known *smk_fetch(const char *name, struct inode *ip, struct dentry *dp)
返回类型:struct smack_known
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | name | |
struct inode * | ip | |
struct dentry * | dp |
285 | struct smack_known * skp = NULL |
294 | rc等于__vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL) |
299 | 否则skp等于smk_import_entry(buffer, rc) |
302 | 释放内存 |
304 | 返回:skp |
名称 | 描述 |
---|---|
smack_d_instantiate | smack_d_instantiate - Make sure the blob is correct on an inode*@opt_dentry: dentry where inode will be attached*@inode: the object* Set the inode's security blob if it hasn't been done already. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |