CVS log for linux-2.4-xfs/fs/xfs/xfs_acl.c

[BACK] Up to [Development] / linux-2.4-xfs / fs / xfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80 / (download) - annotate - [select for diffs], Tue Oct 28 05:39:09 2008 UTC (8 years, 11 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.79: +1 -1 lines
Diff to previous 1.79 (colored)

kill sys_cred

capable_cred has been unused for a while so we can kill it and sys_cred.
That also means the cred argument to xfs_setattr and
xfs_change_file_space can be removed now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:32412a by kenmcd.

  kill sys_cred

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jul 28 15:43:25 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.78: +15 -15 lines
Diff to previous 1.78 (colored)

kill bhv_vnode_t

All remaining bhv_vnode_t instance are in code that's more or less Linux
specific.  (Well, for xfs_acl.c that could be argued, but that code is
on the removal list, too).  So just do an s/bhv_vnode_t/struct inode/
over the whole tree.  We can clean up variable naming and some useless
helpers later.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31781a by kenmcd.

  kill bhv_vnode_t

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jul 25 04:18:55 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.77: +0 -6 lines
Diff to previous 1.77 (colored)

remove spurious VN_HOLD/VN_RELE calls from xfs_acl.c

All the ACL routines are called from inode operations which are
guaranteed to have a referenced inode by the VFS, so there's no need
for the ACL code to grab another temporary one.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31763a by kenmcd.

  remove spurious VN_HOLD/VN_RELE calls from xfs_acl.c

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 25 04:18:03 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.76: +0 -0 lines
Diff to previous 1.76 (colored)

remove spurious VN_HOLD/VN_RELE calls from xfs_acl.c

All the ACL routines are called from inode operations which are
guaranteed to have a referenced inode by the VFS, so there's no need
for the ACL code to grab another temporary one.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31762a by kenmcd.

  remove spurious VN_HOLD/VN_RELE calls from xfs_acl.c

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jul 23 16:35:05 2008 UTC (9 years, 2 months ago) by xaiki.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.75: +8 -8 lines
Diff to previous 1.75 (colored)

XFS: Kill xfs_vtoi()

xfs_vtoi() is redundant and only unsed in small sections
of code. Replace them with widely used XFS_I() inline and
kill xfs_vtoi().

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31725a by kenmcd.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 18 16:34:26 2008 UTC (9 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.74: +9 -9 lines
Diff to previous 1.74 (colored)

Now that xfs_setattr is only used for attributes set from ->setattr it
can be switched to take struct iattr directly and thus simplify the
implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
not conflict with the ATTR_ flags used by the VFS.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31678a by kenmcd.

  Now that xfs_setattr is only used for attributes set from ->setattr it
  can be switched to take struct iattr directly and thus simplify the
  implementation greatly.  Also rename the ATTR_ flags to XFS_ATTR_ to
  not conflict with the ATTR_ flags used by the VFS.
  Signed-off-by: Christoph Hellwig <hch@lst.de>

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jun 18 06:16:45 2008 UTC (9 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.73: +1 -2 lines
Diff to previous 1.73 (colored)

Switches xfs_vn_listxattr to set it's put_listent callback
directly and not go through xfs_attr_list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:31324a by kenmcd.

  Switches xfs_vn_listxattr to set it's put_listent callback
  directly and not go through xfs_attr_list.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Apr 21 16:00:46 2008 UTC (9 years, 6 months ago) by bnaujok.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.72: +4 -3 lines
Diff to previous 1.72 (colored)

Cleanup xfs_attr a bit with xfs_name and remove cred
Merge of xfs-linux-melb:xfs-kern:30913a by kenmcd.

  Remove cred paramater to xfs_attr_get

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 21 06:13:52 2008 UTC (9 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.71: +7 -33 lines
Diff to previous 1.71 (colored)

kill xfs_getattr

It's currently used by the ACL code to read di_mode/di_uid, but these
are simple 32bit scalar values we can just read directly without
locking.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30897a by kenmcd.

  kill xfs_getattr

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 21 06:13:00 2008 UTC (9 years, 6 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Remove VN_IS* macros and related cruft.

We can just check i_mode / di_mode directly.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30896a by kenmcd.

  Remove VN_IS* macros and related cruft.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Apr 9 16:28:05 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.69: +1 -1 lines
Diff to previous 1.69 (colored)

Catch errors from xfs_acl_vremove().

Removing an ACL can return an error. Propagate it.
Merge of xfs-linux-melb:xfs-kern:30793a by kenmcd.

  Catch errors from xfs_acl_vremove().

Revision 1.69 / (download) - annotate - [select for diffs], Wed Apr 9 16:27:19 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.68: +9 -5 lines
Diff to previous 1.68 (colored)

Catch errors from xfs_acl_setmode().

Propagate the error status from xfs_acl_setmode() so that callers
know if the ACl was set correctly or not.
Merge of xfs-linux-melb:xfs-kern:30792a by kenmcd.

  Catch errors from xfs_acl_setmode().

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jan 18 15:05:14 2008 UTC (9 years, 9 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.67: +2 -28 lines
Diff to previous 1.67 (colored)

[PATCH 4/4] use generic_permission

Now that all direct caller of xfs_iaccess are gone we can kill
xfs_iaccess and xfs_access and just use generic_permission with a
check_acl callback.  This is required for the per-mount read-only
patchset in -mm to work properly with XFS.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:30370a by kenmcd.

  use generic_permission

Revision 1.67 / (download) - annotate - [select for diffs], Thu Sep 27 06:15:00 2007 UTC (10 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

simplify xfs_create/mknod/symlink prototype

Simplify the prototype for xfs_create/xfs_mkdir/xfs_symlink by not
passing down a bhv_vattr_t that just hogs stack space.  Instead pass
down the mode in a mode_t and in case of xfs_crate the rdev as a scalar
type aswell.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29794a by kenmcd.

  simplify xfs_create/mknod/symlink prototype

Revision 1.66 / (download) - annotate - [select for diffs], Fri Aug 24 16:10:21 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

kill struct bhv_vnode

Now that struct bhv_vnode is empty we can just kill it.  Retain bhv_vnode_t
as a typedef for struct inode for the time beeing until all the fallout is
cleaned up.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29500a by kenmcd.

  struct bhv_vnode is empty so just retain it as a typedef to a
  struct inode to minimise cosmetic change.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 24 16:05:15 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

kill v_vfsp member from struct bhv_vnode

We can easily get at the vfsp through the super_block but it will soon
be gone anyway.


Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29494a by kenmcd.

  remove v_vfsp from bhv_vnode.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 24 16:04:16 2007 UTC (10 years, 1 month ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.63: +14 -10 lines
Diff to previous 1.63 (colored)

call common xfs vnode-level helpers directly and remove vnode operations

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of xfs-linux-melb:xfs-kern:29493a by kenmcd.

  remove vnode operations.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.62: +0 -1 lines
Diff to previous 1.62 (colored)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

Patch provided by Eric Sandeen (sandeen@sandeen.net).
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28036a by kenmcd.

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.61: +0 -2 lines
Diff to previous 1.61 (colored)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.61 / (download) - annotate - [select for diffs], Tue May 30 15:57:54 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored)

Resolve a namespace collision on remaining vtypes for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26108a by kenmcd.

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 30 15:56:57 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.59: +29 -30 lines
Diff to previous 1.59 (colored)

Resolve a namespace collision on vnode/vnodeops for FreeBSD porters.
Merge of xfs-linux-melb:xfs-kern:26107a by kenmcd.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.58: +1 -1 lines
Diff to previous 1.58 (colored)

We really suck at spulling.  Thanks to Chris Pascoe for fixing all these typos.
Merge of xfs-linux-melb:xfs-kern:25539a by kenmcd.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Jan 25 00:34:27 2006 UTC (11 years, 8 months ago) by cattelan
Branch: MAIN
Changes since 1.57: +1 -0 lines
Diff to previous 1.57 (colored)

Bring the XFS code in sync with the changed from 2.6.16-rc1

Revision 1.57 / (download) - annotate - [select for diffs], Fri Sep 30 08:58:51 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.56: +1 -0 lines
Diff to previous 1.56 (colored)

silence gcc4 warnings.  the directory ones are wrong because of information
gcc could not find out (that a directory always has a .. entry), the others
are outright gcc bugs.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Sep 23 03:51:28 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.55: +12 -26 lines
Diff to previous 1.55 (colored)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23903a by kenmcd.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.54: +7 -5 lines
Diff to previous 1.54 (colored)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Sep 20 15:24:48 2005 UTC (12 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Fix up an internal sort function name collision issue.
Merge of xfs-linux-melb:xfs-kern:23859a by kenmcd.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 14 17:07:55 2005 UTC (12 years, 3 months ago) by hch
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

remove struct vnode::v_type

Revision 1.52 / (download) - annotate - [select for diffs], Tue Mar 1 05:03:14 2005 UTC (12 years, 7 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.51: +4 -41 lines
Diff to previous 1.51 (colored)

Revokes revision 1.37 of xfs_acl.c.
It caused CAPP evaluation to break as it always requires exec
permission for directories when the aim was really meant for
non-dir executables.
See pv#930290.
Merge of xfs-linux-melb:xfs-kern:21668a by kenmcd.

  Revokes revision 1.37 of xfs_acl.c.
  It caused CAPP evaluation to break as it always requires exec
  permission for directories when the aim was really meant for
  non-dir executables.
  See pv#930290.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jun 15 02:10:09 2004 UTC (13 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.50: +0 -4 lines
Diff to previous 1.50 (colored)

Remove unused MAC macros, never needed on Linux (implemented differently).

Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 29 06:47:33 2004 UTC (13 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.49: +6 -5 lines
Diff to previous 1.49 (colored)

Remove xfs_iaccess checks on security namespace, needs to be done outside XFS.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 5 03:12:16 2004 UTC (13 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.48: +1 -1 lines
Diff to previous 1.48 (colored)

Return the right error code on an ACL xattr version mismatch.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Jan 13 22:37:05 2004 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
Changes since 1.47: +1 -0 lines
Diff to previous 1.47 (colored)

Merge the bulk of the bits over from the -dev tree.
Some of the code needs some cleanup now but this mod
basically is to bring the xfs-linux tree in sync with -dev.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 15 05:03:19 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.46: +2 -0 lines
Diff to previous 1.46 (colored)

Undoes mod:     xfs-linux:slinx:158358a
Implement several additional inode flags - immutable, append-only, etc; contributed by Ethan Benson.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 15 03:40:38 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.45: +0 -2 lines
Diff to previous 1.45 (colored)

Undoes mod:     xfs-linux:slinx:158357a
Undo last mod, checked in against wrong bug number with wrong change message.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 15 03:13:46 2003 UTC (14 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.44: +2 -0 lines
Diff to previous 1.44 (colored)

Separate the big filesystems macro out into separate big inums and blknos macros.  Also fix the check for too-large filesystems in the process.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.43: +975 -0 lines
Diff to previous 1.43 (colored)

The Big Move
linux/fs/xfs/xfs_acl.c 1.42 Renamed to xfs_acl.c

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: DENUKE
Changes since 1.42: +0 -975 lines
Diff to previous 1.42 (colored)

Nuke

Revision 1.42 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.41: +18 -1 lines
Diff to previous 1.41 (colored)

Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ,
and should reduce some of the "recompile all" situations.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Apr 30 22:37:02 2003 UTC (14 years, 5 months ago) by felixb
Branch: MAIN
Changes since 1.40: +14 -8 lines
Diff to previous 1.40 (colored)

Modified to always pass NULL as data parameter to VOP_ATTR_GET(),
whenever ATTR_KERNOVAL flag is used.
Merge of 2.4.x-xfs-kern:slinx:147567a by lord.

  Modified to always pass NULL as data parameter to VOP_ATTR_GET(),
  whenever ATTR_KERNOVAL flag is used.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Apr 15 23:16:46 2003 UTC (14 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.39: +28 -28 lines
Diff to previous 1.39 (colored)

Whitespace cleanup
Clean up some whitespace... revert some whitespace changes from previous whitespace cleanup (incorrect tabs)

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 13 23:11:12 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.38: +0 -0 lines
Diff to previous 1.38 (colored)

Undoes mod:     2.4.x-xfs:slinx:132930a
Rethink some of those recent types changes slightly.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 13 02:25:49 2002 UTC (14 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

Change AT_* to XFS_AT_* to prevent namespace collisions; move some type
declarations into more appropriate places.
Change AT_* to XFS_AT_* to prevent namespace collisions.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 23 14:00:12 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.36: +43 -4 lines
Diff to previous 1.36 (colored)

Fix root exec access checks on files with acls
When checking for CAP_DAC_OVERRIDE exec access on files
with acls, look for an effective exec permission in the
acls before granting access.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.35: +22 -22 lines
Diff to previous 1.35 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (15 years ago) by kaos
Branch: MAIN
Changes since 1.34: +22 -22 lines
Diff to previous 1.34 (colored)

Replace STATIC with static in xfs code

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 17 16:57:49 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.33: +28 -8 lines
Diff to previous 1.33 (colored)

Avoid creating attrs for acls which can be stored in
the standard permission bits, and remove existing attrs
if acls are reduced to standard permissions.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 31 21:19:39 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32 (colored)

move from xfs_zone back to kmem_zone

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 12 20:52:29 2002 UTC (15 years, 3 months ago) by lord
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

kill get_current_cred()

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.30: +32 -32 lines
Diff to previous 1.30 (colored)

whitespace cleanup

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 4 00:16:22 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.29: +4 -7 lines
Diff to previous 1.29 (colored)

minor tidyups as suggested by Tim.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 2 04:11:05 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.28: +1 -0 lines
Diff to previous 1.28 (colored)

move include of posix_acl_xattr.h so that split patches can compile
without the acl patch included.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 2 00:12:19 2002 UTC (15 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.27: +64 -63 lines
Diff to previous 1.27 (colored)

changes to ACL type names and macros so that we can keep external-to-xfs
headers much simpler.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jun 17 06:53:26 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.26: +9 -4 lines
Diff to previous 1.26 (colored)

Rework the test for default acls to be CONFIG setting friendly, and still
keep related pieces together.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 14 05:27:43 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

remove extraneous brace.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 14 05:04:15 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.24: +260 -186 lines
Diff to previous 1.24 (colored)

Take xfs_acl_t off the stack - allocate it from an xfs_acl zone instead;
wrap up use of acls in macros such that an alternate implementation could
be plugged in potentially - for the guys investigating large ACE counts &
extended permission bits.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 7 01:40:12 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored)

Merge of 2.5.x-xfs:slinx:121048a by nathans.

  remove a line of redundant code in that last acl_set_file fix.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jun 7 01:37:48 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.22: +21 -8 lines
Diff to previous 1.22 (colored)

Merge of 2.5.x-xfs:slinx:121046a by nathans.

  acl_set_file(3) may request that we set default ACLs with zero length;
  defend (gracefully) against that in XFS, and take it up with Andreas
  as to whether libacl needs fixing too.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

Update copyright dates

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 4 01:45:49 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.20: +26 -41 lines
Diff to previous 1.20 (colored)

Fix up behaviour when we're called via getxattr + size==0 code path,
which in turn affects libacl's acl_extended_file routine, which in
turn affects fileutils checks for the presence of file ACLs.

Revision 1.20 / (download) - annotate - [select for diffs], Thu May 30 07:19:43 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.19: +4 -18 lines
Diff to previous 1.19 (colored)

Merge of 2.5.x-xfs:slinx:120433a by fsgqa.

  of course, the perms field is a _bitfield_, so it needs to be checked
  slightly differently to the type field, bozo -- fixes that last fix.

Revision 1.19 / (download) - annotate - [select for diffs], Thu May 30 05:43:20 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18 (colored)

fix a typo, bozo.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 30 05:19:57 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.17: +19 -2 lines
Diff to previous 1.17 (colored)

Merge of 2.5.x-xfs:slinx:120428a by fsgqa.

  add missing check of the acl perms field into validation routines.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 8 04:29:58 2002 UTC (15 years, 5 months ago) by tes
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)

E2BIG --to--> ERANGE

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 7 04:37:26 2002 UTC (15 years, 5 months ago) by tes
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

Return EPERM instead of EACCES if one is not permitted
to set or remove an ACL (not owner or no capability).
Motivated by email from Ethan Benson and 1003.1e
sections 23.4.8.4 & 23.4.22.4 etc.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 15 01:48:42 2002 UTC (15 years, 6 months ago) by tes
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

Set the length of the EA for the ACL to be the effective
length of the ACL (count + ACEs actually used) instead of the
length of the whole array. In practice, this will mean smaller
EAs for ACLs and may allow them to fit in the inode if it is
big enough. These small ACL/EAs on XFS were tested on IRIX 
by copying the FS to IRIX and worked fine.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 28 04:39:36 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.13: +18 -0 lines
Diff to previous 1.13 (colored)

rearrange code a bit to fix some compile warnings if CONFIG_POSIX_ACL
is not defined.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 26 00:30:54 2002 UTC (15 years, 7 months ago) by tes
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

Merge of 2.4.18-xfs:slinx:112384a by nathans.

  Ensure that the number of ACEs coming in in the EA do
  not exceed XFS_ACL_MAX_ENTRIES - if so return EINVAL.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 26 00:29:58 2002 UTC (15 years, 7 months ago) by tes
Branch: MAIN
Changes since 1.11: +31 -36 lines
Diff to previous 1.11 (colored)

Merge of 2.4.18-xfs:slinx:112278a by nathans.

  Update for version 2 ACL EA format.
  This makes all ACEs be the same size.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 25 23:42:16 2002 UTC (15 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.10: +265 -203 lines
Diff to previous 1.10 (colored)

Merge of 2.4.18-xfs:slinx:111144a by nathans.

  Kernel changes to transition us to the new extended attribute and ACL
  interfaces.  Some minor code rearranging (files moved, some deleted,
  some new ones from ext2/ext3 ACL project) too.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 14 04:41:19 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.9: +150 -258 lines
Diff to previous 1.9 (colored)

convert over from struct acl and other ACL related types/macros to
an xfs_acl_t variant so we can tell what is XFS-specific and what
is not.  will help our transition to a common EA/ACL codebase while
keeping our existing ondisk format intact.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 29 23:43:01 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

The fix for the acl_set ACL validity problem was a little too strict,
and didn't allow the special case of ACL_NOT_PRESENT in the ae_cnt
which is used to signify "delete this ACL".  This simple fix allows
that special case through, and the ACL QA tests all pass again.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 29 01:37:32 2001 UTC (15 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.7: +12 -7 lines
Diff to previous 1.7 (colored)

we must validate an ACL coming in across the syscall interface - in
particular, we cannot just assume the ace count is valid.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 14 07:09:57 2001 UTC (16 years ago) by nathans
Branch: MAIN
Changes since 1.6: +13 -0 lines
Diff to previous 1.6 (colored)

add some definitions which are only used locally now.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 20 07:39:46 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

fix up STATIC functions.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jul 25 05:03:04 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.4: +3 -0 lines
Diff to previous 1.4 (colored)

add two XFS-specific macros in here - implementation details, not needed
by anyone but this .c file.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 17 05:16:51 2001 UTC (16 years, 6 months ago) by tes
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.3: +7 -8 lines
Diff to previous 1.3 (colored)

pv#820248; rv:ajag@engr;
Change xfs_acl_inherit() to take the parent's default acl as
a parameter instead of getting it from the parent's vnode.
This is done because in linvfs_common_cr() we will already have
gotten the default ACL and so we should use it instead of getting
it again.
ALSO, fix the bug where the group permission of the mode was not
and'ed in - it was just overwriting the group permission.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
Changes since 1.2: +0 -1 lines
Diff to previous 1.2 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 19 06:50:04 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN
CVS Tags: Release-1_0_0, PreRelease-0_10
Changes since 1.1: +0 -5 lines
Diff to previous 1.1 (colored)

Make ACLs compile configurable

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 15 10:28:46 2001 UTC (16 years, 9 months ago) by tes
Branch: MAIN

Add XFS/ACL support

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>