xfs
[Top] [All Lists]

TAKE - XFS/ACLs

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - XFS/ACLs
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Jan 2001 21:43:54 +1100 (EST)
Sender: owner-linux-xfs@xxxxxxxxxxx
Adds XFS/ACL support.
This includes much of the ACL/Connex patch based on slinx-xfs
code and OB1 source - thanks muchly :)
Nathan has reorganised the cmd/acl stuff.

Hopefully, I haven't missed anything :)

TODO:
1. - make the ACL stuff configurable like QUOTA and DMAPI
   - do this soon
2. - fix up the cred handling of the vop functions
   - allow cred from behavior, such as in CXFS case, to be used
   - different schemes to try:
       - will initially do method where when we need to use the
         cred we will test to see if it is NULL and if it is then
         use the Linux method to test the credential fields, otherwise
         we will actually use the given cred fields


--Tim


Modified files:

(SYNC = header files to be kept in sync)
Makefile - add acl stuff
SYNC: cmd/xfsprogs/include/xfs_cred.h - add capable_cred function,
                                  add cred to mac proto
SYNC: cmd/xfsprogs/include/xfs_inode.h - add cred parameter to xfs_iaccess
cmd/xfstests/tools/fixcopyright - 2001
cmd/xfstests/tools/srcdiff - cross check acl.h file
                             This needs to be updated for cmd/xfs change.

linux/arch/i386/kernel/entry.S - add acl syscalls
linux/fs/stat.c - adds sys_acl_get, sys_acl_set after sys_attrctl
linux/fs/xfs/Makefile - add xfs_acl.o, xfs_attr_fetch.o
linux/fs/xfs/linux/Makefile - get rid of stubs - fix up config later
linux/fs/xfs/linux/xfs_aclstubs.c - trim & add cred parameter to 
acl_xfs_iaccessSYNC: linux/fs/xfs/linux/xfs_cred.h - capable_cred function, fix 
mac proto
linux/fs/xfs/linux/xfs_globals.c - xfs_acl_enabled name change
linux/fs/xfs/linux/xfs_iops.c - added: linvfs_acl_get, linvfs_acl_set defns
linux/fs/xfs/linux/xfs_vnode.h added: vop_acl_get_t, vop_acl_set_t
                                        VOP_ACL_GET, VOP_ACL_SET
linux/fs/xfs/macstubs.c - added: mac_xfs_vaccess stub
linux/fs/xfs/xfs.h - fix for acl headers
linux/fs/xfs/xfs_attr.c - add cred param for xfs_iaccess
linux/fs/xfs/xfs_dfrag.c - add extra cred param for xfs_iaccess
linux/fs/xfs/xfs_inode.c - add extra cred param for xfs_iaccess
SYNC: linux/fs/xfs/xfs_inode.h - add extra cred param
linux/fs/xfs/xfs_rename.c - add extra cred param for xfs_iaccess
linux/fs/xfs/xfs_utils.c - add extra cred param for xfs_iaccess
linux/fs/xfs/xfs_utils.h - add extra cred param
linux/fs/xfs/xfs_vfsops.c - call xfs_acl_init
linux/fs/xfs/xfs_vnodeops.c - add extra cred param
linux/include/asm-i386/unistd.h - add acl syscall nums
linux/include/linux/fs.h - add acl inode ops


Modid:  2.4.x-xfs:slinx:82289a
Date:  Mon Jan 15 02:28:46 PST 2001
Workarea:  snort:/diskb/build4/tes/slinx-xfs-acl
Author:  tes

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs

Makefile - 1.33
cmd/xfsprogs/include/xfs_cred.h - 1.2
cmd/xfsprogs/include/xfs_inode.h - 1.2
cmd/xfstests/tools/fixcopyright - 1.2
cmd/xfstests/tools/srcdiff - 1.2
linux/arch/i386/kernel/entry.S - 1.31
linux/fs/stat.c - 1.16
linux/fs/xfs/Makefile - 1.114
linux/fs/xfs/linux/Makefile - 1.38
linux/fs/xfs/linux/xfs_aclstubs.c - 1.8
linux/fs/xfs/linux/xfs_cred.h - 1.9
linux/fs/xfs/linux/xfs_globals.c - 1.21
linux/fs/xfs/linux/xfs_iops.c - 1.87
linux/fs/xfs/linux/xfs_vnode.h - 1.11
linux/fs/xfs/macstubs.c - 1.7
linux/fs/xfs/xfs.h - 1.13
linux/fs/xfs/xfs_attr.c - 1.81
linux/fs/xfs/xfs_dfrag.c - 1.26
linux/fs/xfs/xfs_inode.c - 1.309
linux/fs/xfs/xfs_inode.h - 1.143
linux/fs/xfs/xfs_rename.c - 1.29
linux/fs/xfs/xfs_utils.c - 1.35
linux/fs/xfs/xfs_utils.h - 1.14
linux/fs/xfs/xfs_vfsops.c - 1.305
linux/fs/xfs/xfs_vnodeops.c - 1.484
linux/include/asm-i386/unistd.h - 1.14
linux/include/linux/fs.h - 1.75
cmd/acl/Makefile - 1.1
cmd/acl/Makepkgs - 1.1
cmd/acl/README - 1.1
cmd/acl/VERSION - 1.1
cmd/acl/build/Makefile - 1.1
cmd/acl/build/rpm/Makefile - 1.1
cmd/acl/build/rpm/acl.spec.in - 1.1
cmd/acl/build/rpm/macros.template - 1.1
cmd/acl/build/rpm/rpm-2.rc.template - 1.1
cmd/acl/build/tar/Makefile - 1.1
cmd/acl/chacl/Makefile - 1.1
cmd/acl/chacl/chacl.c - 1.1
cmd/acl/configure.in - 1.1
cmd/acl/debian/Makefile - 1.1
cmd/acl/debian/changelog - 1.1
cmd/acl/debian/control - 1.1
cmd/acl/debian/copyright - 1.1
cmd/acl/debian/rules - 1.1
cmd/acl/doc/CHANGES - 1.1
cmd/acl/doc/COPYING - 1.1
cmd/acl/doc/INSTALL - 1.1
cmd/acl/doc/Makefile - 1.1
cmd/acl/doc/PORTING - 1.1
cmd/acl/include/Makefile - 1.1
cmd/acl/include/acl.h - 1.1
cmd/acl/include/builddefs.in - 1.1
cmd/acl/include/buildrules - 1.1
cmd/acl/install-sh - 1.1
cmd/acl/libacl/Makefile - 1.1
cmd/acl/libacl/acl.c - 1.1
cmd/acl/man/Makefile - 1.1
cmd/acl/man/man1/Makefile - 1.1
cmd/acl/man/man1/chacl.1 - 1.1
cmd/acl/man/man2/Makefile - 1.1
cmd/acl/man/man2/acl_get.2 - 1.1
cmd/acl/man/man2/acl_set.2 - 1.1
cmd/acl/man/man3/Makefile - 1.1
cmd/acl/man/man3/acl_copy_ext.3 - 1.1
cmd/acl/man/man3/acl_delete_def_file.3 - 1.1
cmd/acl/man/man3/acl_dup.3 - 1.1
cmd/acl/man/man3/acl_free.3 - 1.1
cmd/acl/man/man3/acl_from_text.3 - 1.1
cmd/acl/man/man3/acl_get_fd.3 - 1.1
cmd/acl/man/man3/acl_get_file.3 - 1.1
cmd/acl/man/man3/acl_size.3 - 1.1
cmd/acl/man/man3/acl_valid.3 - 1.1
cmd/acl/man/man5/Makefile - 1.1
cmd/acl/man/man5/acl.5 - 1.1
linux/fs/xfs/xfs_acl.c - 1.1
linux/fs/xfs/xfs_acl.h - 1.1
linux/include/linux/acl.h - 1.1

<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - XFS/ACLs, Timothy Shimmin <=