Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/file.h>
#include <linux/xattr.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/security.h>
#include <linux/evm.h>
#include <linux/syscalls.h>
#include <linux/export.h>
#include <linux/fsnotify.h>
#include <linux/audit.h>
#include <linux/vmalloc.h>
#include <linux/posix_acl_xattr.h>
#include <asm/uaccess.h>
Go to the source code of this file.
Functions | |
: name of the new extended attribute | |
simple_xattr_set - xattr SET operation for in-memory/pseudo filesystems : target simple_xattr list : value of the new xattr. If NULL, will remove the attribute : size of the new xattr : XATTR_{CREATE|REPLACE} XATTR_CREATE is set, the xattr shouldn't exist already; otherwise fails with -EEXIST. If XATTR_REPLACE is set, the xattr should exist; otherwise, fails with -ENODATA. Returns 0 on success, -errno on failure. | |
int | simple_xattr_set (struct simple_xattrs *xattrs, const char *name, const void *value, size_t size, int flags) |
int | simple_xattr_remove (struct simple_xattrs *xattrs, const char *name) |
ssize_t | simple_xattr_list (struct simple_xattrs *xattrs, char *buffer, size_t size) |
void | simple_xattr_list_add (struct simple_xattrs *xattrs, struct simple_xattr *new_xattr) |
#define for_each_xattr_handler | ( | handlers, | |
handler | |||
) |
EXPORT_SYMBOL | ( | generic_getxattr | ) |
EXPORT_SYMBOL | ( | generic_listxattr | ) |
EXPORT_SYMBOL | ( | generic_setxattr | ) |
EXPORT_SYMBOL | ( | generic_removexattr | ) |
EXPORT_SYMBOL_GPL | ( | vfs_setxattr | ) |
EXPORT_SYMBOL_GPL | ( | xattr_getsecurity | ) |
EXPORT_SYMBOL_GPL | ( | vfs_getxattr | ) |
EXPORT_SYMBOL_GPL | ( | vfs_listxattr | ) |
EXPORT_SYMBOL_GPL | ( | vfs_removexattr | ) |
|
read |
ssize_t simple_xattr_list | ( | struct simple_xattrs * | xattrs, |
char * | buffer, | ||
size_t | size | ||
) |
void simple_xattr_list_add | ( | struct simple_xattrs * | xattrs, |
struct simple_xattr * | new_xattr | ||
) |
int simple_xattr_remove | ( | struct simple_xattrs * | xattrs, |
const char * | name | ||
) |