函数逻辑报告 |
Source Code:fs\attr.c |
Create Date:2022-07-29 10:38:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:setattr_prepare - check if attribute changes to a dentry are allowed*@dentry: dentry to check*@attr: attributes to change* Check if we are allowed to change the attributes contained in @attr* in the given dentry
函数原型:int setattr_prepare(struct dentry *dentry, struct iattr *attr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| struct iattr * | attr |
| 63 | inode等于获得目录项的索引节点 |
| 77 | 如果ia_valid按位与Not a change, but a change it 则转到:kill_priv |
| 100 | 如果ia_valid按位与ATTR_MTIME_SET按位或ATTR_ATIME_SET按位或ATTR_TIMES_SET的值则 |
| 105 | kill_priv : |
| 107 | 如果ia_valid按位与ATTR_KILL_PRIV则 |
| 115 | 返回:0 |
| 名称 | 描述 |
|---|---|
| simple_setattr | simple_setattr - setattr for simple filesystem*@dentry: dentry*@iattr: iattr structure* Returns 0 on success, -error on failure |
| ramfs_nommu_setattr | handle a change of attributes* - we're specifically interested in a change of size |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |