diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2010-08-09 15:57:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-10 15:33:09 -0700 |
commit | aca0fa34bdaba39bfddddba8ca70dba4782e8fe6 (patch) | |
tree | 201b3f01b7fa6f63faaf7bcb592fcd90f1fdb739 /drivers/ata/libata-core.c | |
parent | 2f9e825d3e0e2b407ae8f082de5c00afcf7378fb (diff) | |
download | op-kernel-dev-aca0fa34bdaba39bfddddba8ca70dba4782e8fe6.zip op-kernel-dev-aca0fa34bdaba39bfddddba8ca70dba4782e8fe6.tar.gz |
jfs: don't allow os2 xattr namespace overlap with others
It's currently possible to bypass xattr namespace access rules by
prefixing valid xattr names with "os2.", since the os2 namespace stores
extended attributes in a legacy format with no prefix.
This patch adds checking to deny access to any valid namespace prefix
following "os2.".
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Reported-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions