diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-02 14:44:41 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-13 19:45:47 -0500 |
commit | c4803c497fbdb37e96af614813a7cfb434b6682a (patch) | |
tree | 13ea05af560579eb3728a6c046e2657a06a902b0 /security/smack | |
parent | 5d92b75c753ae27578ee764df3be650c67fa5877 (diff) | |
download | linux-stable-c4803c497fbdb37e96af614813a7cfb434b6682a.tar.gz linux-stable-c4803c497fbdb37e96af614813a7cfb434b6682a.tar.bz2 linux-stable-c4803c497fbdb37e96af614813a7cfb434b6682a.zip |
nfs: Move call to security_inode_listsecurity into nfs_listxattr
Add a nfs_listxattr operation. Move the call to security_inode_listsecurity
from list operation of the "security.*" xattr handler to nfs_listxattr.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/smack')
-rw-r--r-- | security/smack/smack_lsm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index ff81026f6ddb..37fdd5416a64 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -1519,8 +1519,6 @@ static int smack_inode_getsecurity(const struct inode *inode, * @inode: the object * @buffer: where they go * @buffer_size: size of buffer - * - * Returns 0 on success, -EINVAL otherwise */ static int smack_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) |