HardenedBSD/sys
Bill Paul 1b4a7d506f Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen
if you do:

% cd /nfsdir
% mkdir -p foo/foo
% mv foo/foo .

nfs_sillyrename() self-destructs if you try to sillyrename a directory,
however nfs_rename() can be coerced into doing just that by the above
sequence of commands. To avoid this, nfs_rename() now checks that
v_type of the 'destination' vnode != VDIR before attempting the
sillyrename. The server correctly handles this particular situation
by returning ENOTEMPTY on the rename() attempt.

I asked if this was the correct fix for this on -hackers but nobody
ever answered.

This is a 2.2 candidate.
1996-12-31 07:10:19 +00:00
..
alpha
amd64 Let the VM system know that on certain arch's that VM_PROT_READ 1996-12-30 05:31:21 +00:00
compat/linux Fixed lseek() on named pipes. It always succeeded but should always fail. 1996-12-19 19:42:37 +00:00
compile
conf Put INCLUDE_CONFIG_FILE into opt_config.h rather than the CFLAGS line 1996-12-26 23:38:17 +00:00
ddb
dev Use breakpoint() instead of Debugger() in siointr1(). Debugger() doesn't 1996-12-23 19:57:33 +00:00
fs This commit is the embodiment of some VFS read clustering improvements. 1996-12-29 02:45:28 +00:00
geom
gnu This commit is the embodiment of some VFS read clustering improvements. 1996-12-29 02:44:37 +00:00
i386 A couple of changes for proper mpu401 recognition, and an opl3 patch 1996-12-30 22:26:26 +00:00
isa Use breakpoint() instead of Debugger() in siointr1(). Debugger() doesn't 1996-12-23 19:57:33 +00:00
isofs/cd9660 This commit is the embodiment of some VFS read clustering improvements. 1996-12-29 02:45:28 +00:00
kern Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
libkern
miscfs Fixed lseek() on named pipes. It always succeeded but should always fail. 1996-12-19 19:42:37 +00:00
modules
msdosfs Don't synchronously update the directory entry at the end of every 1996-12-25 20:15:12 +00:00
net
netatalk
netinet Add INADDR_LOOPBACK, moved from <rpc/rpc.h> 1996-12-30 15:34:17 +00:00
netipx
netkey
netns
nfs Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen 1996-12-31 07:10:19 +00:00
nfsclient Fix (properly, I hope) 'panic: sillyrename dir' crash that can happen 1996-12-31 07:10:19 +00:00
nfsserver
pc98 Synchronize with sys/i386/isa/npx.c revision 1.35 (disable 1996-12-29 08:14:02 +00:00
pccard
pci Don't redefine SCSI_NCR_DFLT_TAGS even in if FAILSAFE is defined. 1996-12-23 19:12:29 +00:00
powerpc/include
rpc First commit of a series of cleanups for the libc rpc code which has been 1996-12-30 13:59:41 +00:00
scsi Slightly re-order the sequence of commands issued, so try to send 1996-12-24 11:35:24 +00:00
sys Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
tools
ufs This commit is the embodiment of some VFS read clustering improvements. 1996-12-29 02:45:28 +00:00
vm Let the VM system know that on certain arch's that VM_PROT_READ 1996-12-30 05:31:21 +00:00
Makefile