diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-02 14:44:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:52:52 +0200 |
commit | 585f3e1690e6783bd9f3561eadf5ef4809a1e734 (patch) | |
tree | 7ba130f79bad89ba9e607df9953fe51e2c1dcab2 /security | |
parent | 94e3650b2568ae7a06e10c282f588ddede5df1d6 (diff) | |
download | linux-stable-585f3e1690e6783bd9f3561eadf5ef4809a1e734.tar.gz linux-stable-585f3e1690e6783bd9f3561eadf5ef4809a1e734.tar.bz2 linux-stable-585f3e1690e6783bd9f3561eadf5ef4809a1e734.zip |
nfs: Move call to security_inode_listsecurity into nfs_listxattr
[ Upstream commit c4803c497fbdb37e96af614813a7cfb434b6682a ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
-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 716433e63052..d37c1963e8ca 100644 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -1513,8 +1513,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) |