函数逻辑报告 | 
Source Code:fs\xattr.c | 
Create Date:2022-07-29 10:40:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules.
函数原型:static int xattr_permission(struct inode *inode, const char *name, int mask)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct inode * | inode | |
| const char * | name | |
| int | mask | 
| 93 | 如果IS_IMMUTABLE(inode)或IS_APPEND(inode)则返回:负EPERM | 
| 100 | 如果HAS_UNMAPPED_ID(inode)则返回:负EPERM | 
| 115 | 如果非字符串指定长度比较则 | 
| 126 | 如果非字符串指定长度比较则 | 
| 名称 | 描述 | 
|---|---|
| vfs_setxattr | |
| vfs_getxattr_alloc | vfs_getxattr_alloc - allocate memory, if necessary, before calling getxattr* Allocate memory, if not already allocated, or re-allocate correct size,* before retrieving the extended attribute. | 
| vfs_getxattr | |
| vfs_removexattr | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |