1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys
Robert Watson 012c643d3e o Restructure vaccess() so as to check for DAC permission to modify the
object before falling back on privilege.  Make vaccess() accept an
  additional optional argument, privused, to determine whether
  privilege was required for vaccess() to return 0.  Add commented
  out capability checks for reference.  Rename some variables to make
  it more clear which modes/uids/etc are associated with the object,
  and which with the access mode.
o Update file system use of vaccess() to pass NULL as the optional
  privused argument.  Once additional patches are applied, suser()
  will no longer set ASU, so privused will permit passing of
  privilege information up the stack to the caller.

Reviewed by:	bde, green, phk, -security, others
Obtained from:	TrustedBSD Project
2000-08-29 14:45:49 +00:00
..
alpha Remove a vestige of an older attempt at implementing this. 2000-08-29 08:50:17 +00:00
amd64 * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
boot Add a new compile-time tweak to BTX. If you set the make(1) variable 2000-08-24 20:57:44 +00:00
cam Quick fix. <sys/conf.h> now depends on <sys/time.h>, which is not present 2000-08-24 19:23:09 +00:00
coda
compat Whitespace change: (near) KNF 2000-08-26 05:12:16 +00:00
compile
conf * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +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
ddb
dev Many and sundry changes. Still alpha quality. 2000-08-29 12:32:01 +00:00
fs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
geom
gnu sync CCR register definitions with creative sources 2000-08-06 20:58:11 +00:00
i4b Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c) 2000-08-20 21:34:39 +00:00
i386 * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
isa * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +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 o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
libkern
miscfs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
modules Don't enable Linuxulator support if not on an i386. 2000-08-28 03:17:49 +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 Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c) 2000-08-20 21:34:39 +00:00
netatalk
netatm
netgraph Add three more control messages to complement their opposites: 2000-08-15 01:05:50 +00:00
netinet Apply appropriate patch. 2000-08-29 10:41:55 +00:00
netinet6 warn that setsockopt/sysctl # spaces are shared among *BSD, and should better 2000-08-27 00:58:13 +00:00
netipx
netkey make sure we have IV that is random enough. memory allocator on 2000-08-28 08:24:46 +00:00
netnatm
netncp
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
pc98 Enabled pcic, card and xe devices. 2000-08-26 07:38:43 +00:00
pccard Add TI-1031 id. It doesn't work yet, but it is nice to have it. 2000-08-29 04:40:17 +00:00
pci Add TI-1031 id. It doesn't work yet, but it is nice to have it. 2000-08-29 04:40:17 +00:00
posix4
powerpc
rpc
svr4 Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
sys o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +00:00
tools
ufs o Restructure vaccess() so as to check for DAC permission to modify the 2000-08-29 14:45:49 +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