summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-03-25 21:26:41 +0300
committerZefan Li <lizefan@huawei.com>2015-09-18 04:20:26 +0300
commit60ba3db7e79d02325f0ba2a11246c74e30427d41 (patch)
treef44c90cd70479983e29d7e49e24ce5641091f5cf /arch/arm
parentabe62247e0fd8ae561d13d803267241143ececa1 (diff)
downloadlinux-60ba3db7e79d02325f0ba2a11246c74e30427d41.tar.xz
btrfs: don't accept bare namespace as a valid xattr
commit 3c3b04d10ff1811a27f86684ccd2f5ba6983211d upstream. Due to insufficient check in btrfs_is_valid_xattr, this unexpectedly works: $ touch file $ setfattr -n user. -v 1 file $ getfattr -d file user.="1" ie. the missing attribute name after the namespace. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94291 Reported-by: William Douglas <william.douglas@intel.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com> [lizf: Backported to 3.4: - 3.4 doesn't support XATTR_BTRFS_PREFIX] Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions