1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys
Robert Watson bbf0607700 Modify extended attribute protection model to authorize based on
attribute namespace and DAC protection on file:
	- Attribute names beginning with '$' are in the system namespace
	- The attribute name "$" is reserved
	- System namespace attributes may only be read/set by suser()
	  or by kernel (cred == NULL)
	- Other attribute names are in the application namespace
	- The attribute name "" is reserved
	- Application namespace attributes are protected in the manner
	  of the target file permission

o Kernel changes
	- Add ufs_extattr_valid_attrname() to check whether the requested
	  attribute "set" or "enable" is appropriate (i.e., non-reserved)
	- Modify ufs_extattr_credcheck() to accept target file vnode, not
	  to take inode uid
	- Modify ufs_extattr_credcheck() to check namespace, then enforce
	  either kernel/suser for system namespace, or vaccess() for
	  application namespace
o EA backing file format changes
	- Remove permission fields from extended attribute backing file
	  header
	- Bump extended attribute backing file header version to 3
o Update extattrctl.c and extattrctl.8
	- Remove now deprecated -r and -w arguments to initattr, as
	  permissions are now implicit
	- (unrelated) fix error reporting and unlinking during failed
	  initattr to remove duplicate/inaccurate error messages, and to
	  only unlink if the failure wasn't in the backing file open()

Obtained from:	TrustedBSD Project
2000-09-02 20:31:26 +00:00
..
alpha A quick fix to get around a problem (described below) with cia based 2000-09-02 01:05:37 +00:00
amd64 Add the 'asr' driver, supplied by Mark Salyzyn of Adaptec (nee DPT). 2000-09-01 07:51:25 +00:00
boot The INT 1B BIOS call is used to obtain geometries of SASI/IDE hard 2000-08-31 10:24:06 +00:00
cam Change the "Duplicate Wired Device entry" printout in camperiphnextunit to 2000-08-29 22:11:39 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
compat o Synchronize linprocfs authorization with procfs authorization improvements 2000-09-01 18:40:52 +00:00
compile
conf Move svr4 here as well... 2000-09-02 12:43:43 +00:00
contrib/dev Install mode 644, not mode 664 during kernel compile. Yes, Peter, I am 2000-08-15 11:06:56 +00:00
crypto sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
ddb Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
dev Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
fs Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
geom Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
gnu sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
i4b Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
i386 Add ACPI_BUS_SPACE stuff definitions in acpi_machdep.h. 2000-09-02 15:06:54 +00:00
isa Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
isofs/cd9660 o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
kern Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
libkern Comment out unavailable call. This needs to be revisited when the entropy 2000-06-25 10:15:58 +00:00
miscfs o Simplify if/then clause equating ESRCH with ENOENT when hiding a process 2000-09-01 18:41:32 +00:00
modules Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
msdosfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
net Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
netatalk Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netatm Just need to pass the address family to if_simloop(), not the whole sockaddr. 2000-05-24 21:16:56 +00:00
netgraph New netgraph node type for Ethernet bridging. 2000-09-01 01:37:13 +00:00
netinet Match IPPROTO_ICMP with IP protocol field of the original IP 2000-09-01 16:38:53 +00:00
netinet6 warn that setsockopt/sysctl # spaces are shared among *BSD, and should better 2000-08-27 00:58:13 +00:00
netipx Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
netncp Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
netns
nfs This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsclient This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
nfsserver This patch corrects the first round of panics and hangs reported 2000-07-24 05:28:33 +00:00
ntfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
pc98 Fixed FPU_ERROR_BROKEN code. It had old-isa code. 2000-09-01 11:47:07 +00:00
pccard Add a detach method to allow this device to be unloaded. 2000-08-30 06:57:38 +00:00
pci Define some more bits in CSR15 needed for previous change. 2000-09-02 00:02:51 +00:00
posix4 Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
powerpc Support bounce buffers for ISA DMA on the alpha. This is required for the 2000-06-19 18:41:27 +00:00
rpc
sys Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
tools remove crufty exec stuff, perl is in the base system 2000-06-27 19:09:55 +00:00
ufs Modify extended attribute protection model to authorize based on 2000-09-02 20:31:26 +00:00
vm Make the arguments match the functionality of the functions. 2000-08-26 04:51:39 +00:00
Makefile I should know better than to touch this without testing a 'make release' 2000-08-24 18:53:09 +00:00