From owner-cvs-all Fri Apr 14 20:34:33 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C53D537B81A; Fri, 14 Apr 2000 20:34:29 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA17614; Fri, 14 Apr 2000 20:34:29 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Message-Id: <200004150334.UAA17614@freefall.freebsd.org> From: Robert Watson Date: Fri, 14 Apr 2000 20:34:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/coda coda_vfsops.c src/sys/conf files options src/sys/contrib/softupdates ffs_softdep.c src/sys/i386/conf LINT src/sys/ufs/ffs ffs_alloc.c ffs_inode.c ffs_vfsops.c ffs_vnops.c src/sys/ufs/mfs mfs_vfsops.c src/sys/ufs/ufs extattr.h ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2000/04/14 20:34:29 PDT Modified files: sys/coda coda_vfsops.c sys/conf files options sys/contrib/softupdates ffs_softdep.c sys/i386/conf LINT sys/ufs/ffs ffs_alloc.c ffs_inode.c ffs_vfsops.c ffs_vnops.c sys/ufs/mfs mfs_vfsops.c sys/ufs/ufs ufs_bmap.c ufs_inode.c ufs_lookup.c ufs_quota.c ufs_vfsops.c ufs_vnops.c ufsmount.h Added files: sys/ufs/ufs extattr.h ufs_extattr.c Log: Introduce extended attribute support for FFS, allowing arbitrary (name, value) pairs to be associated with inodes. This support is used for ACLs, MAC labels, and Capabilities in the TrustedBSD security extensions, which are currently under development. In this implementation, attributes are backed to data vnodes in the style of the quota support in FFS. Support for FFS extended attributes may be enabled using the FFS_EXTATTR kernel option (disabled by default). Userland utilities and man pages will be committed in the next batch. VFS interfaces and man pages have been in the repo since 4.0-RELEASE and are unchanged. o ufs/ufs/extattr.h: UFS-specific extattr defines o ufs/ufs/ufs_extattr.c: bulk of support routines o ufs/{ufs,ffs,mfs}/*.[ch]: hooks and extattr.h includes o contrib/softupdates/ffs_softdep.c: extattr.h includes o conf/options, conf/files, i386/conf/LINT: added FFS_EXTATTR o coda/coda_vfsops.c: XXX required extattr.h due to ufsmount.h (This should not be the case, and will be fixed in a future commit) Currently attributes are not supported in MFS. This will be fixed. Reviewed by: adrian, bp, freebsd-fs, other unthanked souls Obtained from: TrustedBSD Project Revision Changes Path 1.25 +2 -1 src/sys/coda/coda_vfsops.c 1.353 +2 -1 src/sys/conf/files 1.197 +6 -1 src/sys/conf/options 1.61 +2 -1 src/sys/contrib/softupdates/ffs_softdep.c 1.768 +6 -1 src/sys/i386/conf/LINT 1.66 +2 -1 src/sys/ufs/ffs/ffs_alloc.c 1.60 +2 -1 src/sys/ufs/ffs/ffs_inode.c 1.118 +15 -1 src/sys/ufs/ffs/ffs_vfsops.c 1.65 +8 -1 src/sys/ufs/ffs/ffs_vnops.c 1.82 +2 -1 src/sys/ufs/mfs/mfs_vfsops.c 1.39 +2 -1 src/sys/ufs/ufs/ufs_bmap.c 1.26 +6 -1 src/sys/ufs/ufs/ufs_inode.c 1.36 +2 -1 src/sys/ufs/ufs/ufs_lookup.c 1.28 +2 -1 src/sys/ufs/ufs/ufs_quota.c 1.18 +2 -1 src/sys/ufs/ufs/ufs_vfsops.c 1.134 +2 -1 src/sys/ufs/ufs/ufs_vnops.c 1.18 +3 -1 src/sys/ufs/ufs/ufsmount.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message