freebsd-skq/sys/i386
Robert Watson a64ed08955 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
2000-04-15 03:34:27 +00:00
..
apm Correctly handle suspend and resume in APM. 2000-02-06 14:57:05 +00:00
bios Correctly handle suspend and resume in APM. 2000-02-06 14:57:05 +00:00
conf Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
i386 Remove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and 2000-04-03 06:02:00 +00:00
ibcs2 Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
include Add multiple #include protection 2000-04-04 16:46:19 +00:00
isa Don't complain about not getting resources for the compatibility shim 2000-04-08 17:21:15 +00:00
linux Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
pci Add a workaround to allow us to detect the second pci bus on an HP 2000-02-23 20:25:06 +00:00
svr4 Pre-freeze cleanups: Conditionalize debugging writes on DEBUG_SVR4, 2000-01-15 15:29:37 +00:00
Makefile Add soft updates to the set of things being tagged. Syntax cleanup. 2000-01-27 01:22:06 +00:00