diff options
author | Jim Owens <jowens@hp.com> | 2009-02-04 17:29:13 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-04 17:29:13 +0300 |
commit | 0279b4cd86685b5eea467c1b74ce94f0add2c0a3 (patch) | |
tree | 54caafd4c6b31e2bc9861217627297c00af89066 /fs/btrfs/xattr.h | |
parent | bef62ef339c15d7721da88958b03f7b544464722 (diff) | |
download | linux-0279b4cd86685b5eea467c1b74ce94f0add2c0a3.tar.xz |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h index 5b1d08f8e68d..c71e9c3cf3f7 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__ */ |