Function report |
Source Code:fs\xattr.c |
Create Date:2022-07-28 20:09:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vfs_getxattr
Proto:ssize_t vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
const char * | name | |
void * | value | |
size_t | size |
321 | error = Check permissions for extended attribute access. This is a bit complicated* because different namespaces have very different rules. |
325 | error = security_inode_getxattr(dentry, name) |
329 | If Not strncmp(name, XATTR_SECURITY_PREFIX, XATTR_SECURITY_PREFIX_LEN) Then |
331 | suffix = name + XATTR_SECURITY_PREFIX_LEN |
337 | If ret == -EOPNOTSUPP Then Go to nolsm |
339 | Return ret |
341 | nolsm : |
Name | Describe |
---|---|
getxattr | Extended attribute GET operations |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |