summaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@kernel.org>2011-05-27 14:50:36 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2011-05-27 09:43:00 -0400
commit55b23bde19c08f14127a27d461a4e079942c7258 (patch)
tree074f23a530c5bbaccce7068bf2947bf39b60ab16 /fs/bio.c
parentaa38572954ade525817fe88c54faebf85e5a61c0 (diff)
downloadblackbird-op-linux-55b23bde19c08f14127a27d461a4e079942c7258.tar.gz
blackbird-op-linux-55b23bde19c08f14127a27d461a4e079942c7258.zip
xattr: Fix error results for non-existent / invisible attributes
Return -ENODATA when trying to read a user.* attribute which cannot exist: user space otherwise does not have a reasonable way to distinguish between non-existent and inaccessible attributes. Likewise, return -ENODATA when an unprivileged process tries to read a trusted.* attribute: to unprivileged processes, those attributes are invisible (listxattr() won't include them). Related to this bug report: https://bugzilla.redhat.com/660613 Signed-off-by: Andreas Gruenbacher <agruen@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud