summaryrefslogtreecommitdiff
path: root/fs/btrfs/xattr.h
diff options
context:
space:
mode:
authorJim Owens <jowens@hp.com>2009-02-04 09:29:13 -0500
committerChris Mason <chris.mason@oracle.com>2009-02-04 09:29:13 -0500
commit0279b4cd86685b5eea467c1b74ce94f0add2c0a3 (patch)
tree54caafd4c6b31e2bc9861217627297c00af89066 /fs/btrfs/xattr.h
parentbef62ef339c15d7721da88958b03f7b544464722 (diff)
downloadlinux-3.10-0279b4cd86685b5eea467c1b74ce94f0add2c0a3.tar.gz
linux-3.10-0279b4cd86685b5eea467c1b74ce94f0add2c0a3.tar.bz2
linux-3.10-0279b4cd86685b5eea467c1b74ce94f0add2c0a3.zip
Btrfs: selinux support
Add call to LSM security initialization and save resulting security xattr for new inodes. Add xattr support to symlink inode ops. Set inode->i_op for existing special files. Signed-off-by: jim owens <jowens@hp.com>
Diffstat (limited to 'fs/btrfs/xattr.h')
-rw-r--r--fs/btrfs/xattr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h
index 5b1d08f8e68..c71e9c3cf3f 100644
--- a/fs/btrfs/xattr.h
+++ b/fs/btrfs/xattr.h
@@ -36,4 +36,6 @@ extern int btrfs_setxattr(struct dentry *dentry, const char *name,
const void *value, size_t size, int flags);
extern int btrfs_removexattr(struct dentry *dentry, const char *name);
+extern int btrfs_xattr_security_init(struct inode *inode, struct inode *dir);
+
#endif /* __XATTR__ */