]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] r/o bind mounts: elevate write count for xattr_permission() callers
authorDave Hansen <haveblue@us.ibm.com>
Fri, 15 Feb 2008 22:37:38 +0000 (14:37 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 19 Apr 2008 04:29:15 +0000 (00:29 -0400)
commit18f335aff86913de3c76f88d32c8135c1da62ce6
treebf541547b9774137a161d200bace04ad152e80e3
parent9079b1eb1753f217c3de9f1b7dd7fd549cc3f0cf
[PATCH] r/o bind mounts: elevate write count for xattr_permission() callers

This basically audits the callers of xattr_permission(), which calls
permission() and can perform writes to the filesystem.

[AV: add missing parts - removexattr() and nfsd posix acls, plug for a leak
spotted by Miklos]

Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c
fs/xattr.c