xfs
[Top] [All Lists]

TAKE 981809 - kill attr_capable checks

To: xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxx
Subject: TAKE 981809 - kill attr_capable checks
From: tes@xxxxxxx (Tim Shimmin)
Date: Thu, 15 May 2008 13:59:19 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
Kill attr_capable checks as already done in xattr_permission.

No need for addition permission checks in the xattr handler,
fs/xattr.c:xattr_permission() already does them, and in fact slightly
more strict then what was in the attr_capable handlers.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Thu May 15 13:58:26 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/tes/2.6.x-xfs-quilt
Inspected by:  hch@xxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:31164a
fs/xfs/xfs_attr.c - 1.149 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_attr.c.diff?r1=text&tr1=1.149&r2=text&tr2=1.148&f=h
        - Kill attr_capable checks as already done in xattr_permission.

fs/xfs/xfs_attr.h - 1.40 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_attr.h.diff?r1=text&tr1=1.40&r2=text&tr2=1.39&f=h
        - Kill attr_capable checks as already done in xattr_permission.

fs/xfs/linux-2.6/xfs_iops.c - 1.285 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.285&r2=text&tr2=1.284&f=h
        - Kill attr_capable checks as already done in xattr_permission.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 981809 - kill attr_capable checks, Tim Shimmin <=