| #include <linux/reiserfs_fs.h> |
| #include <linux/pagemap.h> |
| #include <linux/reiserfs_xattr.h> |
| security_get(struct inode *inode, const char *name, void *buffer, size_t size) |
| if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) |
| if (is_reiserfs_priv_object(inode)) |
| return reiserfs_xattr_get(inode, name, buffer, size); |
| security_set(struct inode *inode, const char *name, const void *buffer, |
| if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) |
| if (is_reiserfs_priv_object(inode)) |
| return reiserfs_xattr_set(inode, name, buffer, size, flags); |
| static int security_del(struct inode *inode, const char *name) |
| if (strlen(name) < sizeof(XATTR_SECURITY_PREFIX)) |
| if (is_reiserfs_priv_object(inode)) |
| security_list(struct inode *inode, const char *name, int namelen, char *out) |
| if (is_reiserfs_priv_object(inode)) |
| struct reiserfs_xattr_handler security_handler = { |
| .prefix = XATTR_SECURITY_PREFIX, |