freebsd-dev/sys
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
..
alpha * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
amd64 Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
boot The printf function of boot2 can't recognize "%lx" format. 2000-04-14 14:25:13 +00:00
cam Add a hack to cam that makes the cam_xpt available to the rest of the 2000-04-03 11:11:12 +00:00
coda Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
compat Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
compile
conf Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
contrib Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
crypto A simplified RC4 implementation for kernel use. 2000-04-09 21:01:01 +00:00
ddb
dev Change && to || in probe routine so that the mlphy driver doesn't 2000-04-14 15:31:48 +00:00
fs Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
geom Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
gnu Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
i4b Fix a problem which caused i/o resource allocation conflict of this 2000-03-09 20:57:47 +00:00
i386 Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
isa * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
isofs/cd9660 Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
kern * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
libkern
miscfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
modules Enable building Vinum on alpha. 2000-04-13 04:08:24 +00:00
msdosfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
net Awi driver, ported from NetBSD from Atsushi Once-san. 2000-04-06 02:48:48 +00:00
netatalk Slight cleanup of aarp code 2000-03-29 17:12:09 +00:00
netatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netgraph Fix uninitialized variable. 2000-04-12 17:29:33 +00:00
netinet Apply TCP_EXPIRE_CONNECTED (86400 seconds) timeout only to established 2000-04-14 15:34:55 +00:00
netinet6 Support per socket based IPv4 mapped IPv6 addr enable/disable control. 2000-04-01 22:35:47 +00:00
netipx Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netkey
netnatm Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
netncp Do not panic if request issued by kernel. 2000-04-05 10:54:02 +00:00
netns Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nfsclient Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nfsserver Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
ntfs Move B_ERROR flag to b_ioflags and call it BIO_ERROR. 2000-04-02 15:24:56 +00:00
nwfs Try to obtain timezone offset from an environment of mount program. 2000-04-05 10:44:04 +00:00
pc98 Added wdreg.h. PC-98 still uses the wd driver. 2000-04-14 11:29:15 +00:00
pccard Fix typo in description of Cirrus Logic PD6832 PCI-CardBus Bridge. 2000-03-30 18:47:00 +00:00
pci Set the value of rid variable for bus_alloc_resource(dev, SYS_RES_IOPORT,...) 2000-04-12 11:21:55 +00:00
posix4 Commit major SMP cleanups and move the BGL (big giant lock) in the 2000-03-28 07:16:37 +00:00
powerpc Remove B_READ, B_WRITE and B_FREEBUF and replace them with a new 2000-03-20 10:44:49 +00:00
rpc
svr4
sys * Factor out the object system from new-bus so that it can be used by 2000-04-08 14:17:18 +00:00
tools
ufs Introduce extended attribute support for FFS, allowing arbitrary 2000-04-15 03:34:27 +00:00
vm Fix _zget() so that it checks the return from kmem_alloc(), to avoid 2000-04-04 21:00:39 +00:00
Makefile Remove the old a.out-only boot loader, we don't use it any more. 2000-03-19 11:42:34 +00:00